#902CA8#902CA8
#902CA8 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 319.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA8 |
|---|---|
| RGB | rgb(144, 44, 168) |
| HSL | hsl(288, 58%, 42%) |
| HSV | hsv(288, 74%, 66%) |
| CMYK | cmyk(14.3%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(38.83, 58.42, -46.34) |
| CIE-LCH | lch(38.83, 74.57, 321.57°) |
| OKLab | oklab(49.84% 0.1498 -0.1301) |
| OKLCH | oklch(49.84% 0.198 319) |
| XYZ | xyz(19.4692, 10.5587, 38.0507) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.27
Purple (survey)
#7E1E9C
ΔE00 4.54
Barney
#AC1DB8
ΔE00 4.97
Barney Purple
#A00498
ΔE00 5.13
Warm Purple
#952E8F
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA8 #44A82C
analogous
#522CA8 #902CA8 #A82C82
triadic
#902CA8 #A8902C #2CA890
tetradic
#902CA8 #A8522C #44A82C #2C82A8
square
#902CA8 #A8522C #44A82C #2C82A8
split-complementary
#902CA8 #82A82C #2CA852
monochromatic
#3D1347 #661F78 #902CA8 #B343CE #C774DB
Accessibility & contrast
On white
6.75
#902CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#902CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA8
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA8 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#904568
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ca8; /* rgb */ color: rgb(144, 44, 168); /* oklch */ color: oklch(49.8% 0.198 319.0);
Tailwind
colors: {
custom: {
50: '#b46fc2',
500: '#902ca8',
950: '#000000',
},
}SCSS
$custom: #902ca8; $custom-light: #b46fc2; $custom-dark: #000000;
JSON
{
"hex": "#902ca8",
"rgb": {
"r": 144,
"g": 44,
"b": 168
},
"hsl": {
"h": 288.387,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.4984,
"c": 0.19836,
"h": 319
},
"luminance": 0.10558
}Semantic roles & 50–950 ramp
primary
#902CA8
secondary
#7EC26E
accent
#E24664
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81