#9F56EF#9F56EF
#9F56EF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.221 H 302.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9F56EF |
|---|---|
| RGB | rgb(159, 86, 239) |
| HSL | hsl(269, 83%, 64%) |
| HSV | hsv(269, 64%, 94%) |
| CMYK | cmyk(33.5%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(52.13, 58.48, -65.83) |
| CIE-LCH | lch(52.13, 88.05, 311.62°) |
| OKLab | oklab(61.28% 0.1177 -0.187) |
| OKLCH | oklch(61.28% 0.221 302.2) |
| XYZ | xyz(33.2022, 20.2584, 83.8057) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.70
Lightish Purple
#A552E6
ΔE00 2.00
Purpley
#8756E4
ΔE00 4.48
Electric Purple
#AA23FF
ΔE00 6.77
Mediumpurple
#9370DB
ΔE00 7.09
Light Urple
#B36FF6
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F56EF #A6EF56
analogous
#5659EF #9F56EF #EB56EF
triadic
#9F56EF #EF9F56 #56EF9F
tetradic
#9F56EF #EF5659 #A6EF56 #56EFEB
square
#9F56EF #EF5659 #A6EF56 #56EFEB
split-complementary
#9F56EF #EFEB56 #59EF56
monochromatic
#6112B9 #7F1EEA #9F56EF #BF8EF4 #DFC6FA
Accessibility & contrast
On white
4.16
#9F56EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#9F56EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F56EF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F56EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F56EF | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#8F789B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9f56ef; /* rgb */ color: rgb(159, 86, 239); /* oklch */ color: oklch(61.3% 0.221 302.2);
Tailwind
colors: {
custom: {
50: '#c08af5',
500: '#9f56ef',
950: '#000000',
},
}SCSS
$custom: #9f56ef; $custom-light: #c08af5; $custom-dark: #000000;
JSON
{
"hex": "#9f56ef",
"rgb": {
"r": 159,
"g": 86,
"b": 239
},
"hsl": {
"h": 268.627,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.61275,
"c": 0.22097,
"h": 302.2
},
"luminance": 0.20259
}Semantic roles & 50–950 ramp
primary
#9F56EF
secondary
#D2EBB5
accent
#DF0678
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85