#9F5DF0#9F5DF0
#9F5DF0 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.213 H 301.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5DF0 |
|---|---|
| RGB | rgb(159, 93, 240) |
| HSL | hsl(267, 83%, 65%) |
| HSV | hsv(267, 61%, 94%) |
| CMYK | cmyk(33.8%, 61.2%, 0%, 5.9%) |
| CIE-LAB | lab(53.48, 55.22, -64.20) |
| CIE-LCH | lch(53.48, 84.68, 310.70°) |
| OKLab | oklab(62.28% 0.1099 -0.1822) |
| OKLCH | oklch(62.28% 0.213 301.1) |
| XYZ | xyz(33.9369, 21.4907, 84.7814) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.15
Lightish Purple
#A552E6
ΔE00 3.12
Purpley
#8756E4
ΔE00 5.17
Mediumpurple
#9370DB
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 5.91
Mediumslateblue
#7B68EE
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5DF0 #AEF05D
analogous
#5D64F0 #9F5DF0 #E95DF0
triadic
#9F5DF0 #F09F5D #5DF09F
tetradic
#9F5DF0 #F05D64 #AEF05D #5DF0E9
square
#9F5DF0 #F05D64 #AEF05D #5DF0E9
split-complementary
#9F5DF0 #F0E95D #64F05D
monochromatic
#6012C1 #7E25EB #9F5DF0 #C095F5 #E1CDFA
Accessibility & contrast
On white
3.96
#9F5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#9F5DF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5DF0
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5DF0 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#2A7FED
Tritanopia (blue-blind)
#8E7D9E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9f5df0; /* rgb */ color: rgb(159, 93, 240); /* oklch */ color: oklch(62.3% 0.213 301.1);
Tailwind
colors: {
custom: {
50: '#c08ef6',
500: '#9f5df0',
950: '#000000',
},
}SCSS
$custom: #9f5df0; $custom-light: #c08ef6; $custom-dark: #000000;
JSON
{
"hex": "#9f5df0",
"rgb": {
"r": 159,
"g": 93,
"b": 240
},
"hsl": {
"h": 266.939,
"s": 83.051,
"l": 65.294
},
"oklch": {
"l": 0.62275,
"c": 0.2128,
"h": 301.1
},
"luminance": 0.21491
}Semantic roles & 50–950 ramp
primary
#9F5DF0
secondary
#D7EDBC
accent
#DF067E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85