#5945B2
Closest named color: Bluey Purple (#6241C7). oklch(47.3% 0.166 286.7), rgb(89, 69, 178).
Aa
White text reads best on this color (7.19:1).
About this color
#5945B2 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.166 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.037 away. White text reads best on it, at 7.19:1.
| Hue family | Purples |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.166) |
| Temperature | cool |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 2.91:1 |
| White text | 7.19:1 |
Values
| HEX | #5945B2 |
| RGB | rgb(89, 69, 178) |
| HSL | hsl(251, 44%, 48%) |
| OKLCH | oklch(47.3% 0.166 286.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 #5945B2 | 7.19:1 | AAA | Lc -89.5 | Fine for body text |
| Black text on #5945B2 | 2.91:1 | Fails | Lc 19.5 | Dividers and decoration only |
| #5945B2 text on white | 7.19:1 | AAA | Lc 84.6 | Fine for body text |
| #5945B2 text on black | 2.91:1 | Fails | Lc -17.4 | 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
#E8E8F9
oklch(93.6% 0.023 286)
-
Step 200
200
#D6D5F6
oklch(88.4% 0.045 286.8)
-
Step 300
300
#BCB9F3
oklch(80.8% 0.081 286.8)
-
Step 400
400
#9B93EC
oklch(70.6% 0.128 286.7)
-
Step 500
500
#8476E6
oklch(63.1% 0.163 286.4)
-
Step 600
600
#705CD4
oklch(55.7% 0.177 286.8)
-
Step 700
700 (this color)
#5945B2
oklch(47.3% 0.166 286.7)
-
Step 800
800
#4C3E95
oklch(42.7% 0.137 286.4)
-
Step 900
900
#3F3677
oklch(37.8% 0.107 286.4)
-
Step 950
950
#252045
oklch(27% 0.067 287.2)
#5945B2 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) | #005AB6 | 0.087 |
| Deuteranopia (no green cones) | #0054B0 | 0.085 |
| Tritanopia (no blue cones) | #395F75 | 0.138 |
| Achromatopsia (no color) | #575757 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5945B2
#5945B2
oklch(47.3% 0.166 286.7)
- #635F00
#635F00
oklch(47.4% 0.102 106.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 #5945B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.037
- Blue With A Hint Of Purple #533CC6 ΔE 0.039
- Blurple #5539CC ΔE 0.048
- Iris #6258C4 ΔE 0.055
- Blueberry #464196 ΔE 0.056
- Rebecca Purple #663399 ΔE 0.058
- Majorelle Blue #3F37C9 ΔE 0.065
- Slate Blue #6A5ACD ΔE 0.071
Use #5945B2 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.