#9F74FC#9F74FC
#9F74FC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.195 H 295.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F74FC |
|---|---|
| RGB | rgb(159, 116, 252) |
| HSL | hsl(259, 96%, 72%) |
| HSV | hsv(259, 54%, 99%) |
| CMYK | cmyk(36.9%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(58.87, 45.97, -62.19) |
| CIE-LCH | lch(58.87, 77.34, 306.47°) |
| OKLab | oklab(66.46% 0.0828 -0.1764) |
| OKLCH | oklch(66.46% 0.195 295.2) |
| XYZ | xyz(38.1096, 26.8892, 95.2589) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.22
Mediumpurple
#9370DB
ΔE00 5.11
Periwinkle (survey)
#8E82FE
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 5.99
Light Purple
#BF77F6
ΔE00 6.37
Lighter Purple
#A55AF4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F74FC #D1FC74
analogous
#748DFC #9F74FC #E374FC
triadic
#9F74FC #FC9F74 #74FC9F
tetradic
#9F74FC #FC748D #D1FC74 #74FCE3
square
#9F74FC #FC748D #D1FC74 #74FCE3
split-complementary
#9F74FC #FCE374 #8DFC74
monochromatic
#5005F0 #7638FB #9F74FC #C8B0FD #EAE1FE
Accessibility & contrast
On white
3.29
#9F74FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9F74FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F74FC
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F74FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F74FC | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#8890AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9f74fc; /* rgb */ color: rgb(159, 116, 252); /* oklch */ color: oklch(66.5% 0.195 295.2);
Tailwind
colors: {
custom: {
50: '#c09dfe',
500: '#9f74fc',
950: '#000000',
},
}SCSS
$custom: #9f74fc; $custom-light: #c09dfe; $custom-dark: #000000;
JSON
{
"hex": "#9f74fc",
"rgb": {
"r": 159,
"g": 116,
"b": 252
},
"hsl": {
"h": 258.971,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.6646,
"c": 0.19485,
"h": 295.2
},
"luminance": 0.2689
}Semantic roles & 50–950 ramp
primary
#9F74FC
secondary
#ECF7D4
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86