#902BA6#902BA6
#902BA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.198 H 319.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #902BA6 |
|---|---|
| RGB | rgb(144, 43, 166) |
| HSL | hsl(289, 59%, 41%) |
| HSV | hsv(289, 74%, 65%) |
| CMYK | cmyk(13.3%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(38.57, 58.40, -45.56) |
| CIE-LCH | lch(38.57, 74.07, 322.04°) |
| OKLab | oklab(49.62% 0.1509 -0.1277) |
| OKLCH | oklch(49.62% 0.198 319.8) |
| XYZ | xyz(19.2475, 10.4112, 37.0647) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.39
Purply
#983FB2
ΔE00 4.51
Barney Purple
#A00498
ΔE00 4.82
Warm Purple
#952E8F
ΔE00 4.97
Barney
#AC1DB8
ΔE00 5.08
Darkmagenta
#8B008B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902BA6 #41A62B
analogous
#522BA6 #902BA6 #A62B7E
triadic
#902BA6 #A6902B #2BA690
tetradic
#902BA6 #A6522B #41A62B #2B7EA6
square
#902BA6 #A6522B #41A62B #2B7EA6
split-complementary
#902BA6 #7EA62B #2BA652
monochromatic
#3C1245 #661E75 #902BA6 #B441CE #C771DA
Accessibility & contrast
On white
6.81
#902BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#902BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902BA6
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902BA6 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#904366
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ba6; /* rgb */ color: rgb(144, 43, 166); /* oklch */ color: oklch(49.6% 0.198 319.8);
Tailwind
colors: {
custom: {
50: '#b46fc1',
500: '#902ba6',
950: '#000000',
},
}SCSS
$custom: #902ba6; $custom-light: #b46fc1; $custom-dark: #000000;
JSON
{
"hex": "#902ba6",
"rgb": {
"r": 144,
"g": 43,
"b": 166
},
"hsl": {
"h": 289.268,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.49617,
"c": 0.19772,
"h": 319.8
},
"luminance": 0.1041
}Semantic roles & 50–950 ramp
primary
#902BA6
secondary
#7BC16B
accent
#E24662
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81