#902FC9#902FC9
#902FC9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.225 H 309.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #902FC9 |
|---|---|
| RGB | rgb(144, 47, 201) |
| HSL | hsl(278, 62%, 49%) |
| HSV | hsv(278, 77%, 79%) |
| CMYK | cmyk(28.4%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(41.50, 64.00, -61.47) |
| CIE-LCH | lch(41.50, 88.73, 316.15°) |
| OKLab | oklab(52.46% 0.142 -0.1745) |
| OKLCH | oklch(52.46% 0.225 309.1) |
| XYZ | xyz(23.0586, 12.1798, 56.3832) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.90
Darkviolet
#9400D3
ΔE00 3.36
Blueviolet
#8A2BE2
ΔE00 3.68
Violet (survey)
#9A0EEA
ΔE00 4.40
Vibrant Purple
#AD03DE
ΔE00 4.94
Purply
#983FB2
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902FC9 #68C92F
analogous
#432FC9 #902FC9 #C92FB5
triadic
#902FC9 #C9902F #2FC990
tetradic
#902FC9 #C9432F #68C92F #2FB5C9
square
#902FC9 #C9432F #68C92F #2FB5C9
split-complementary
#902FC9 #B5C92F #2FC943
monochromatic
#491866 #6C2397 #902FC9 #AB5CD9 #C48EE5
Accessibility & contrast
On white
6.11
#902FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#902FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902FC9
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902FC9 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#87557B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #902fc9; /* rgb */ color: rgb(144, 47, 201); /* oklch */ color: oklch(52.5% 0.225 309.1);
Tailwind
colors: {
custom: {
50: '#b672da',
500: '#902fc9',
950: '#000000',
},
}SCSS
$custom: #902fc9; $custom-light: #b672da; $custom-dark: #000000;
JSON
{
"hex": "#902fc9",
"rgb": {
"r": 144,
"g": 47,
"b": 201
},
"hsl": {
"h": 277.792,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.52455,
"c": 0.22495,
"h": 309.1
},
"luminance": 0.12179
}Semantic roles & 50–950 ramp
primary
#902FC9
secondary
#A0CF85
accent
#E5437F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83