#645AA5
Closest named color: Iris (#6258C4). oklch(51.2% 0.116 287.7), rgb(100, 90, 165).
Aa
White text reads best on this color (5.91:1).
About this color
#645AA5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.116 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.050 away. White text reads best on it, at 5.91:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.116) |
| Temperature | cool |
| Nearest name | Iris (#6258C4) |
| Black text | 3.54:1 |
| White text | 5.91:1 |
Values
| HEX | #645AA5 |
| RGB | rgb(100, 90, 165) |
| HSL | hsl(248, 29%, 50%) |
| OKLCH | oklch(51.2% 0.116 287.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 #645AA5 | 5.91:1 | AA | Lc -84.7 | Fine for body text |
| Black text on #645AA5 | 3.54:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #645AA5 text on white | 5.91:1 | AA | Lc 79.5 | Fine for body text |
| #645AA5 text on black | 3.54:1 | AA large text | Lc -22.3 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E8F4
oklch(93.5% 0.016 289.9)
-
Step 200
200
#D7D6ED
oklch(88.4% 0.031 287.7)
-
Step 300
300
#BEBCE4
oklch(81% 0.056 287.4)
-
Step 400
400
#9D98D6
oklch(70.7% 0.09 287.6)
-
Step 500
500
#867DCB
oklch(63% 0.116 287.9)
-
Step 600
600
#7065B8
oklch(55.5% 0.126 287.6)
-
Step 700
700 (this color)
#645AA5
oklch(51.2% 0.116 287.7)
-
Step 800
800
#4D4580
oklch(42.7% 0.096 287.9)
-
Step 900
900
#403A67
oklch(37.6% 0.076 288.3)
-
Step 950
950
#25223C
oklch(26.9% 0.048 288)
#645AA5 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) | #3F66A8 | 0.055 |
| Deuteranopia (no green cones) | #3F62A3 | 0.052 |
| Tritanopia (no blue cones) | #526977 | 0.099 |
| Achromatopsia (no color) | #646464 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #645AA5
#645AA5
oklch(51.2% 0.116 287.7)
- #6E6A00
#6E6A00
oklch(51.1% 0.11 107.1)
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 #645AA5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.050
- Dusky Blue #475F94 ΔE 0.053
- French Blue #436BAD ΔE 0.058
- Twilight #4E518B ΔE 0.059
- Slate Blue #6A5ACD ΔE 0.064
- Denim Blue #3B5B92 ΔE 0.066
- Muted Purple #805B87 ΔE 0.067
- Light Indigo #6D5ACF ΔE 0.068
Use #645AA5 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.