#9F54FC#9F54FC
#9F54FC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.237 H 299.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F54FC |
|---|---|
| RGB | rgb(159, 84, 252) |
| HSL | hsl(267, 97%, 66%) |
| HSV | hsv(267, 67%, 99%) |
| CMYK | cmyk(36.9%, 66.7%, 0%, 1.2%) |
| CIE-LAB | lab(52.66, 62.54, -72.21) |
| CIE-LCH | lch(52.66, 95.53, 310.89°) |
| OKLab | oklab(61.94% 0.1184 -0.2058) |
| OKLCH | oklch(61.94% 0.237 299.9) |
| XYZ | xyz(35.0347, 20.7395, 94.2339) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.04
Lightish Purple
#A552E6
ΔE00 3.43
Purpley
#8756E4
ΔE00 5.06
Electric Purple
#AA23FF
ΔE00 6.56
Neon Purple
#BC13FE
ΔE00 7.20
Light Urple
#B36FF6
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F54FC #B1FC54
analogous
#545DFC #9F54FC #F354FC
triadic
#9F54FC #FC9F54 #54FC9F
tetradic
#9F54FC #FC545D #B1FC54 #54FCF3
square
#9F54FC #FC545D #B1FC54 #54FCF3
split-complementary
#9F54FC #FCF354 #5DFC54
monochromatic
#6004D2 #7D18FB #9F54FC #C190FD #E3CCFE
Accessibility & contrast
On white
4.08
#9F54FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#9F54FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F54FC
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F54FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F54FC | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#8A7BA1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9f54fc; /* rgb */ color: rgb(159, 84, 252); /* oklch */ color: oklch(61.9% 0.237 299.9);
Tailwind
colors: {
custom: {
50: '#c289fe',
500: '#9f54fc',
950: '#000000',
},
}SCSS
$custom: #9f54fc; $custom-light: #c289fe; $custom-dark: #000000;
JSON
{
"hex": "#9f54fc",
"rgb": {
"r": 159,
"g": 84,
"b": 252
},
"hsl": {
"h": 266.786,
"s": 96.552,
"l": 65.882
},
"oklch": {
"l": 0.61939,
"c": 0.2374,
"h": 299.9
},
"luminance": 0.2074
}Semantic roles & 50–950 ramp
primary
#9F54FC
secondary
#D9F2BA
accent
#E6007F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86