#904EA2
Closest named color: Purply (#983FB2). oklch(53.6% 0.144 318.7), rgb(144, 78, 162).
Aa
White text reads best on this color (5.53:1).
About this color
#904EA2 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.144 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.043 away. White text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.79:1 |
| White text | 5.53:1 |
Values
| HEX | #904EA2 |
| RGB | rgb(144, 78, 162) |
| HSL | hsl(287, 35%, 47%) |
| OKLCH | oklch(53.6% 0.144 318.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #904EA2 | 5.53:1 | AA | Lc -82.6 | Fine for body text |
| Black text on #904EA2 | 3.79:1 | AA large text | Lc 26.8 | Dividers and decoration only |
| #904EA2 text on white | 5.53:1 | AA | Lc 77.3 | Fine for body text |
| #904EA2 text on black | 3.79:1 | AA large text | Lc -24.5 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE6F2
oklch(93.5% 0.019 317.7)
-
Step 200
200
#E4D2E9
oklch(88.5% 0.037 318.9)
-
Step 300
300
#D3B4DC
oklch(80.9% 0.065 318.6)
-
Step 400
400
#BC8CCA
oklch(70.7% 0.103 318.5)
-
Step 500
500
#AB6DBC
oklch(63% 0.133 318.8)
-
Step 600
600 (this color)
#904EA2
oklch(53.6% 0.144 318.7)
-
Step 700
700
#804490
oklch(49.1% 0.133 318.9)
-
Step 800
800
#683875
oklch(42.7% 0.111 318.8)
-
Step 900
900
#55315F
oklch(37.8% 0.087 318.7)
-
Step 950
950
#321D37
oklch(27% 0.055 319.7)
#904EA2 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3E64A5 | 0.131 |
| Deuteranopia (no green cones) | #536BA0 | 0.116 |
| Tritanopia (no blue cones) | #905A71 | 0.091 |
| Achromatopsia (no color) | #696969 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #904EA2
#904EA2
oklch(53.6% 0.144 318.7)
- #3C8024
#3C8024
oklch(53.6% 0.143 138.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #904EA2, closest first.
No curated palette has a color within ΔE 0.04 of #904EA2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.043
- Deep Lavender #8D5EB7 ΔE 0.045
- Light Eggplant #894585 ΔE 0.049
- Amethyst #9B5FC0 ΔE 0.060
- Warm Purple #952E8F ΔE 0.064
- Muted Purple #805B87 ΔE 0.064
- Light Plum #9D5783 ΔE 0.065
- Dark Lavender #856798 ΔE 0.069
Use #904EA2 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.