#9F56E7#9F56E7
#9F56E7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.212 H 303.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F56E7 |
|---|---|
| RGB | rgb(159, 86, 231) |
| HSL | hsl(270, 75%, 62%) |
| HSV | hsv(270, 63%, 91%) |
| CMYK | cmyk(31.2%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(51.61, 56.60, -62.18) |
| CIE-LCH | lch(51.61, 84.08, 312.31°) |
| OKLab | oklab(60.73% 0.1183 -0.1763) |
| OKLCH | oklch(60.73% 0.212 303.9) |
| XYZ | xyz(32.0464, 19.7961, 77.7186) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.28
Lighter Purple
#A55AF4
ΔE00 2.41
Purpley
#8756E4
ΔE00 4.41
Amethyst
#9B5FC0
ΔE00 6.50
Mediumorchid
#BA55D3
ΔE00 6.67
Electric Purple
#AA23FF
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F56E7 #9EE756
analogous
#5756E7 #9F56E7 #E756E7
triadic
#9F56E7 #E79F56 #56E79F
tetradic
#9F56E7 #E75756 #9EE756 #56E7E7
square
#9F56E7 #E75756 #9EE756 #56E7E7
split-complementary
#9F56E7 #E7E756 #56E757
monochromatic
#6218AA #8120DF #9F56E7 #BD8CEF #DCC1F6
Accessibility & contrast
On white
4.23
#9F56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#9F56E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F56E7
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F56E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F56E7 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#927597
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9f56e7; /* rgb */ color: rgb(159, 86, 231); /* oklch */ color: oklch(60.7% 0.212 303.9);
Tailwind
colors: {
custom: {
50: '#c08aef',
500: '#9f56e7',
950: '#000000',
},
}SCSS
$custom: #9f56e7; $custom-light: #c08aef; $custom-dark: #000000;
JSON
{
"hex": "#9f56e7",
"rgb": {
"r": 159,
"g": 86,
"b": 231
},
"hsl": {
"h": 270.207,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.60732,
"c": 0.2123,
"h": 303.9
},
"luminance": 0.19796
}Semantic roles & 50–950 ramp
primary
#9F56E7
secondary
#CCE7B2
accent
#D70E72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85