#664DC4
Closest named color: Iris (#6258C4). oklch(51.2% 0.177 288.1), rgb(102, 77, 196).
Aa
White text reads best on this color (6.13:1).
About this color
#664DC4 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.177 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.025 away. White text reads best on it, at 6.13:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Iris (#6258C4) |
| Black text | 3.42:1 |
| White text | 6.13:1 |
Values
| HEX | #664DC4 |
| RGB | rgb(102, 77, 196) |
| HSL | hsl(253, 50%, 54%) |
| OKLCH | oklch(51.2% 0.177 288.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 #664DC4 | 6.13:1 | AA | Lc -85.4 | Fine for body text |
| Black text on #664DC4 | 3.42:1 | AA large text | Lc 23.9 | Dividers and decoration only |
| #664DC4 text on white | 6.13:1 | AA | Lc 80.2 | Fine for body text |
| #664DC4 text on black | 3.42:1 | AA large text | Lc -21.6 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E8FA
oklch(93.7% 0.024 288.5)
-
Step 200
200
#D7D5F8
oklch(88.6% 0.048 288)
-
Step 300
300
#BDB8F5
oklch(80.8% 0.086 288.1)
-
Step 400
400
#9D91F1
oklch(70.7% 0.138 288.1)
-
Step 500
500
#8773EC
oklch(63.2% 0.175 287.9)
-
Step 600
600
#7357DA
oklch(55.6% 0.191 288.4)
-
Step 700
700 (this color)
#664DC4
oklch(51.2% 0.177 288.1)
-
Step 800
800
#4E3B99
oklch(42.7% 0.147 287.8)
-
Step 900
900
#41347A
oklch(37.8% 0.114 288.2)
-
Step 950
950
#261F47
oklch(27% 0.072 288.7)
#664DC4 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) | #0064C8 | 0.098 |
| Deuteranopia (no green cones) | #005FC2 | 0.097 |
| Tritanopia (no blue cones) | #476981 | 0.147 |
| Achromatopsia (no color) | #626262 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #664DC4
#664DC4
oklch(51.2% 0.177 288.1)
- #6D6B00
#6D6B00
oklch(51.3% 0.111 108.5)
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 #664DC4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.025
- Bluey Purple #6241C7 ΔE 0.027
- Slate Blue #6A5ACD ΔE 0.033
- Light Indigo #6D5ACF ΔE 0.036
- Dark Periwinkle #665FD1 ΔE 0.045
- Blue With A Hint Of Purple #533CC6 ΔE 0.051
- Blurple #5539CC ΔE 0.054
- Warm Blue #4B57DB ΔE 0.055
Use #664DC4 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.