#904EA3
Closest named color: Purply (#983FB2). oklch(53.7% 0.145 318.3), rgb(144, 78, 163).
Aa
White text reads best on this color (5.51:1).
About this color
#904EA3 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.145 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.042 away. White text reads best on it, at 5.51:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.80:1 |
| White text | 5.51:1 |
Values
| HEX | #904EA3 |
| RGB | rgb(144, 78, 163) |
| HSL | hsl(287, 35%, 47%) |
| OKLCH | oklch(53.7% 0.145 318.3) |
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 #904EA3 | 5.51:1 | AA | Lc -82.5 | Fine for body text |
| Black text on #904EA3 | 3.80:1 | AA large text | Lc 26.9 | Dividers and decoration only |
| #904EA3 text on white | 5.51:1 | AA | Lc 77.2 | Fine for body text |
| #904EA3 text on black | 3.80: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
#BC8CCB
oklch(70.8% 0.104 318)
-
Step 500
500
#AB6DBD
oklch(63.1% 0.134 318.4)
-
Step 600
600 (this color)
#904EA3
oklch(53.7% 0.145 318.3)
-
Step 700
700
#804491
oklch(49.2% 0.134 318.4)
-
Step 800
800
#683876
oklch(42.7% 0.112 318.2)
-
Step 900
900
#55315F
oklch(37.8% 0.087 318.7)
-
Step 950
950
#321D38
oklch(27.1% 0.056 318.5)
#904EA3 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) | #3E64A6 | 0.131 |
| Deuteranopia (no green cones) | #526BA1 | 0.117 |
| Tritanopia (no blue cones) | #905A71 | 0.092 |
| Achromatopsia (no color) | #696969 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #904EA3
#904EA3
oklch(53.7% 0.145 318.3)
- #3D8022
#3D8022
oklch(53.6% 0.144 138.3)
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 #904EA3, closest first.
No curated palette has a color within ΔE 0.04 of #904EA3.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.042
- Deep Lavender #8D5EB7 ΔE 0.044
- Light Eggplant #894585 ΔE 0.050
- Amethyst #9B5FC0 ΔE 0.059
- Warm Purple #952E8F ΔE 0.065
- Muted Purple #805B87 ΔE 0.066
- Light Plum #9D5783 ΔE 0.067
- Dark Lavender #856798 ΔE 0.069
Use #904EA3 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.