#902FC2#902FC2
#902FC2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.219 H 311.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #902FC2 |
|---|---|
| RGB | rgb(144, 47, 194) |
| HSL | hsl(280, 61%, 47%) |
| HSV | hsv(280, 76%, 76%) |
| CMYK | cmyk(25.8%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.99, 62.53, -58.22) |
| CIE-LCH | lch(40.99, 85.43, 317.04°) |
| OKLab | oklab(51.93% 0.1434 -0.1649) |
| OKLCH | oklch(51.93% 0.219 311) |
| XYZ | xyz(22.2539, 11.8579, 52.1450) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.27
Darkviolet
#9400D3
ΔE00 3.70
Purply
#983FB2
ΔE00 4.63
Blueviolet
#8A2BE2
ΔE00 4.69
Violet (survey)
#9A0EEA
ΔE00 5.30
Vibrant Purple
#AD03DE
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902FC2 #61C22F
analogous
#472FC2 #902FC2 #C22FAB
triadic
#902FC2 #C2902F #2FC290
tetradic
#902FC2 #C2472F #61C22F #2FABC2
square
#902FC2 #C2472F #61C22F #2FABC2
split-complementary
#902FC2 #ABC22F #2FC247
monochromatic
#47175F #6B2391 #902FC2 #AB58D6 #C489E2
Accessibility & contrast
On white
6.23
#902FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#902FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902FC2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902FC2 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0D62BF
Tritanopia (blue-blind)
#895277
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #902fc2; /* rgb */ color: rgb(144, 47, 194); /* oklch */ color: oklch(51.9% 0.219 311.0);
Tailwind
colors: {
custom: {
50: '#b572d5',
500: '#902fc2',
950: '#000000',
},
}SCSS
$custom: #902fc2; $custom-light: #b572d5; $custom-dark: #000000;
JSON
{
"hex": "#902fc2",
"rgb": {
"r": 144,
"g": 47,
"b": 194
},
"hsl": {
"h": 279.592,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.51935,
"c": 0.21853,
"h": 311
},
"luminance": 0.11857
}Semantic roles & 50–950 ramp
primary
#902FC2
secondary
#9ACC81
accent
#E4447A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83