#9F2FDA#9F2FDA
#9F2FDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.7% C 0.244 H 310.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2FDA |
|---|---|
| RGB | rgb(159, 47, 218) |
| HSL | hsl(279, 70%, 52%) |
| HSV | hsv(279, 78%, 85%) |
| CMYK | cmyk(27.1%, 78.4%, 0%, 14.5%) |
| CIE-LAB | lab(44.89, 70.08, -65.66) |
| CIE-LCH | lch(44.89, 96.03, 316.87°) |
| OKLab | oklab(55.67% 0.158 -0.1863) |
| OKLCH | oklch(55.67% 0.244 310.3) |
| XYZ | xyz(27.9670, 14.4666, 67.6351) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.05
Vibrant Purple
#AD03DE
ΔE00 2.77
Violet (survey)
#9A0EEA
ΔE00 3.46
Blueviolet
#8A2BE2
ΔE00 4.09
Bright Violet
#AD0AFD
ΔE00 4.49
Vivid Purple
#9900FA
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2FDA #6ADA2F
analogous
#4A2FDA #9F2FDA #DA2FC0
triadic
#9F2FDA #DA9F2F #2FDA9F
tetradic
#9F2FDA #DA4A2F #6ADA2F #2FC0DA
square
#9F2FDA #DA4A2F #6ADA2F #2FC0DA
split-complementary
#9F2FDA #C0DA2F #2FDA4A
monochromatic
#571679 #7C1FAD #9F2FDA #B763E3 #CF97EC
Accessibility & contrast
On white
5.39
#9F2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#9F2FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2FDA
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2FDA | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#975A85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9f2fda; /* rgb */ color: rgb(159, 47, 218); /* oklch */ color: oklch(55.7% 0.244 310.3);
Tailwind
colors: {
custom: {
50: '#c175e6',
500: '#9f2fda',
950: '#000000',
},
}SCSS
$custom: #9f2fda; $custom-light: #c175e6; $custom-dark: #000000;
JSON
{
"hex": "#9f2fda",
"rgb": {
"r": 159,
"g": 47,
"b": 218
},
"hsl": {
"h": 279.298,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.5567,
"c": 0.24428,
"h": 310.3
},
"luminance": 0.14466
}Semantic roles & 50–950 ramp
primary
#9F2FDA
secondary
#A7D88D
accent
#ED3B78
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84