#664DB8
Closest named color: Iris (#6258C4). oklch(50.3% 0.162 290.1), rgb(102, 77, 184).
Aa
White text reads best on this color (6.32:1).
About this color
#664DB8 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.162 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.031 away. White text reads best on it, at 6.32:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Iris (#6258C4) |
| Black text | 3.31:1 |
| White text | 6.32:1 |
Values
| HEX | #664DB8 |
| RGB | rgb(102, 77, 184) |
| HSL | hsl(254, 43%, 51%) |
| OKLCH | oklch(50.3% 0.162 290.1) |
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 #664DB8 | 6.32:1 | AA | Lc -86.3 | Fine for body text |
| Black text on #664DB8 | 3.31:1 | AA large text | Lc 22.9 | Dividers and decoration only |
| #664DB8 text on white | 6.32:1 | AA | Lc 81.2 | Fine for body text |
| #664DB8 text on black | 3.31:1 | AA large text | Lc -20.7 | 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 700.
-
Step 50
50
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E9E8F8
oklch(93.6% 0.021 288.9)
-
Step 200
200
#D8D5F5
oklch(88.5% 0.044 289.8)
-
Step 300
300
#BFB9F0
oklch(80.9% 0.077 289.6)
-
Step 400
400
#A092E9
oklch(70.7% 0.126 290.2)
-
Step 500
500
#8A75E2
oklch(63.2% 0.159 289.9)
-
Step 600
600
#755AD0
oklch(55.5% 0.175 290.1)
-
Step 700
700 (this color)
#664DB8
oklch(50.3% 0.162 290.1)
-
Step 800
800
#503D92
oklch(42.7% 0.134 289.8)
-
Step 900
900
#423574
oklch(37.7% 0.104 290)
-
Step 950
950
#272044
oklch(27.1% 0.065 290.3)
#664DB8 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) | #0162BC | 0.099 |
| Deuteranopia (no green cones) | #0B5DB6 | 0.096 |
| Tritanopia (no blue cones) | #4E657B | 0.132 |
| Achromatopsia (no color) | #606060 | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #664DB8
#664DB8
oklch(50.3% 0.162 290.1)
- #686900
#686900
oklch(50.3% 0.11 110.4)
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 #664DB8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.031
- Bluey Purple #6241C7 ΔE 0.037
- Slate Blue #6A5ACD ΔE 0.044
- Light Indigo #6D5ACF ΔE 0.047
- Dark Periwinkle #665FD1 ΔE 0.055
- Blue With A Hint Of Purple #533CC6 ΔE 0.056
- Blurple #5539CC ΔE 0.062
- Warm Blue #4B57DB ΔE 0.068
Use #664DB8 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.