#9F5FFD#9F5FFD
#9F5FFD is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.225 H 298.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5FFD |
|---|---|
| RGB | rgb(159, 95, 253) |
| HSL | hsl(264, 98%, 68%) |
| HSV | hsv(264, 62%, 99%) |
| CMYK | cmyk(37.2%, 62.5%, 0%, 0.8%) |
| CIE-LAB | lab(54.71, 57.38, -69.46) |
| CIE-LCH | lch(54.71, 90.09, 309.56°) |
| OKLab | oklab(63.43% 0.1068 -0.1977) |
| OKLCH | oklch(63.43% 0.225 298.4) |
| XYZ | xyz(36.1154, 22.6467, 95.3780) |
| Luminance | 0.2265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.08
Lightish Purple
#A552E6
ΔE00 4.78
Light Urple
#B36FF6
ΔE00 5.58
Purpley
#8756E4
ΔE00 6.16
Mediumpurple
#9370DB
ΔE00 6.35
Mediumslateblue
#7B68EE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5FFD #BDFD5F
analogous
#5F6EFD #9F5FFD #EE5FFD
triadic
#9F5FFD #FD9F5F #5FFD9F
tetradic
#9F5FFD #FD5F6E #BDFD5F #5FFDEE
square
#9F5FFD #FD5F6E #BDFD5F #5FFDEE
split-complementary
#9F5FFD #FDEE5F #6EFD5F
monochromatic
#5C03DF #7B23FC #9F5FFD #C39BFE #E8D8FF
Accessibility & contrast
On white
3.80
#9F5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#9F5FFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5FFD
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5FFD | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0681FA
Tritanopia (blue-blind)
#8982A6
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9f5ffd; /* rgb */ color: rgb(159, 95, 253); /* oklch */ color: oklch(63.4% 0.225 298.4);
Tailwind
colors: {
custom: {
50: '#c190ff',
500: '#9f5ffd',
950: '#000000',
},
}SCSS
$custom: #9f5ffd; $custom-light: #c190ff; $custom-dark: #000000;
JSON
{
"hex": "#9f5ffd",
"rgb": {
"r": 159,
"g": 95,
"b": 253
},
"hsl": {
"h": 264.304,
"s": 97.531,
"l": 68.235
},
"oklch": {
"l": 0.63432,
"c": 0.2247,
"h": 298.4
},
"luminance": 0.22647
}Semantic roles & 50–950 ramp
primary
#9F5FFD
secondary
#E0F4C4
accent
#E60089
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86