#9B2DE2
Closest named color: Blue Violet (#8A2BE2). oklch(55.6% 0.252 307.2), rgb(155, 45, 226).
Aa
White text reads best on this color (5.43:1).
About this color
#9B2DE2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.252 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.034 away. White text reads best on it, at 5.43:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.252) |
| Temperature | in between |
| Nearest name | Blue Violet (#8A2BE2) |
| Black text | 3.86:1 |
| White text | 5.43:1 |
Values
| HEX | #9B2DE2 |
| RGB | rgb(155, 45, 226) |
| HSL | hsl(276, 76%, 53%) |
| OKLCH | oklch(55.6% 0.252 307.2) |
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 #9B2DE2 | 5.43:1 | AA | Lc -81.1 | Fine for body text |
| Black text on #9B2DE2 | 3.86:1 | AA large text | Lc 28.3 | Dividers and decoration only |
| #9B2DE2 text on white | 5.43:1 | AA | Lc 75.7 | Fine for body text |
| #9B2DE2 text on black | 3.86:1 | AA large text | Lc -26.0 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#F0E5FC
oklch(93.7% 0.033 307.2)
-
Step 200
200
#E4CFFA
oklch(88.5% 0.062 307.2)
-
Step 300
300
#D4ADFA
oklch(80.9% 0.114 307.2)
-
Step 400
400
#BF7DF7
oklch(70.7% 0.182 307.4)
-
Step 500
500
#AF54F3
oklch(63.1% 0.231 307.3)
-
Step 600
600 (this color)
#9B2DE2
oklch(55.6% 0.252 307.2)
-
Step 700
700
#841BC4
oklch(49% 0.234 307.1)
-
Step 800
800
#6C1C9F
oklch(42.8% 0.194 307.3)
-
Step 900
900
#57207E
oklch(37.6% 0.152 307.2)
-
Step 950
950
#33154A
oklch(27% 0.096 307.1)
#9B2DE2 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) | #0066E7 | 0.193 |
| Deuteranopia (no green cones) | #006ADE | 0.196 |
| Tritanopia (no blue cones) | #8F5E89 | 0.176 |
| Achromatopsia (no color) | #6A6A6A | 0.254 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9B2DE2
#9B2DE2
oklch(55.6% 0.252 307.2)
- #5C8200
#5C8200
oklch(55.7% 0.144 127.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 #9B2DE2, closest first.
No curated palette has a color within ΔE 0.04 of #9B2DE2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Violet #8A2BE2 ΔE 0.034
- Dark Orchid #9932CC ΔE 0.034
- Vibrant Purple #AD03DE ΔE 0.043
- Dark Violet #9400D3 ΔE 0.044
- Vivid Purple #9900FA ΔE 0.045
- Electric Purple #AA23FF ΔE 0.050
- Bright Violet #AD0AFD ΔE 0.053
- Purpley #8756E4 ΔE 0.071
Use #9B2DE2 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.