#9F3FDA#9F3FDA
#9F3FDA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.228 H 309.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3FDA |
|---|---|
| RGB | rgb(159, 63, 218) |
| HSL | hsl(277, 68%, 55%) |
| HSV | hsv(277, 71%, 85%) |
| CMYK | cmyk(27.1%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(46.96, 64.17, -62.31) |
| CIE-LCH | lch(46.96, 89.45, 315.84°) |
| OKLab | oklab(57.13% 0.1441 -0.1766) |
| OKLCH | oklch(57.13% 0.228 309.2) |
| XYZ | xyz(28.7279, 15.9884, 67.8888) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.56
Vibrant Purple
#AD03DE
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 4.81
Electric Purple
#AA23FF
ΔE00 4.84
Bright Violet
#AD0AFD
ΔE00 5.13
Violet (survey)
#9A0EEA
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3FDA #7ADA3F
analogous
#513FDA #9F3FDA #DA3FC8
triadic
#9F3FDA #DA9F3F #3FDA9F
tetradic
#9F3FDA #DA513F #7ADA3F #3FC8DA
square
#9F3FDA #DA513F #7ADA3F #3FC8DA
split-complementary
#9F3FDA #C8DA3F #3FDA51
monochromatic
#5C1A85 #8024B8 #9F3FDA #B972E4 #D2A6EE
Accessibility & contrast
On white
5.00
#9F3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#9F3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3FDA
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3FDA | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1A71D7
Tritanopia (blue-blind)
#966289
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9f3fda; /* rgb */ color: rgb(159, 63, 218); /* oklch */ color: oklch(57.1% 0.228 309.2);
Tailwind
colors: {
custom: {
50: '#c07ce6',
500: '#9f3fda',
950: '#000000',
},
}SCSS
$custom: #9f3fda; $custom-light: #c07ce6; $custom-dark: #000000;
JSON
{
"hex": "#9f3fda",
"rgb": {
"r": 159,
"g": 63,
"b": 218
},
"hsl": {
"h": 277.161,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.57126,
"c": 0.22787,
"h": 309.2
},
"luminance": 0.15988
}Semantic roles & 50–950 ramp
primary
#9F3FDA
secondary
#B3DB9A
accent
#EB3D7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84