#9F5FCF#9F5FCF
#9F5FCF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.172 H 308.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5FCF |
|---|---|
| RGB | rgb(159, 95, 207) |
| HSL | hsl(274, 54%, 59%) |
| HSV | hsv(274, 54%, 81%) |
| CMYK | cmyk(23.2%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(51.91, 46.41, -48.09) |
| CIE-LCH | lch(51.91, 66.83, 313.98°) |
| OKLab | oklab(60.49% 0.1074 -0.135) |
| OKLCH | oklch(60.49% 0.172 308.5) |
| XYZ | xyz(29.6506, 20.0608, 61.3295) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.58
Lightish Purple
#A552E6
ΔE00 4.28
Deep Lavender
#8D5EB7
ΔE00 4.94
Mediumorchid
#BA55D3
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 5.50
Deep Lilac
#966EBD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5FCF #8FCF5F
analogous
#675FCF #9F5FCF #CF5FC7
triadic
#9F5FCF #CF9F5F #5FCF9F
tetradic
#9F5FCF #CF675F #8FCF5F #5FC7CF
square
#9F5FCF #CF675F #8FCF5F #5FC7CF
split-complementary
#9F5FCF #C7CF5F #5FCF67
monochromatic
#61298A #8238B9 #9F5FCF #BB8EDD #D7BDEB
Accessibility & contrast
On white
4.19
#9F5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#9F5FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5FCF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5FCF | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#98738E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9f5fcf; /* rgb */ color: rgb(159, 95, 207); /* oklch */ color: oklch(60.5% 0.172 308.5);
Tailwind
colors: {
custom: {
50: '#be8fde',
500: '#9f5fcf',
950: '#000000',
},
}SCSS
$custom: #9f5fcf; $custom-light: #be8fde; $custom-dark: #000000;
JSON
{
"hex": "#9f5fcf",
"rgb": {
"r": 159,
"g": 95,
"b": 207
},
"hsl": {
"h": 274.286,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.6049,
"c": 0.17249,
"h": 308.5
},
"luminance": 0.2006
}Semantic roles & 50–950 ramp
primary
#9F5FCF
secondary
#C2DBAF
accent
#DD4B89
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83