#9F56F3#9F56F3
#9F56F3 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.225 H 301.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F56F3 |
|---|---|
| RGB | rgb(159, 86, 243) |
| HSL | hsl(268, 87%, 65%) |
| HSV | hsv(268, 65%, 95%) |
| CMYK | cmyk(34.6%, 64.6%, 0%, 4.7%) |
| CIE-LAB | lab(52.40, 59.43, -67.63) |
| CIE-LCH | lch(52.40, 90.03, 311.31°) |
| OKLab | oklab(61.55% 0.1174 -0.1923) |
| OKLCH | oklch(61.55% 0.225 301.4) |
| XYZ | xyz(33.7997, 20.4974, 86.9523) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.54
Lightish Purple
#A552E6
ΔE00 2.46
Purpley
#8756E4
ΔE00 4.63
Electric Purple
#AA23FF
ΔE00 6.78
Light Urple
#B36FF6
ΔE00 7.19
Mediumpurple
#9370DB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F56F3 #AAF356
analogous
#565CF3 #9F56F3 #ED56F3
triadic
#9F56F3 #F39F56 #56F39F
tetradic
#9F56F3 #F3565C #AAF356 #56F3ED
square
#9F56F3 #F3565C #AAF356 #56F3ED
split-complementary
#9F56F3 #F3ED56 #5CF356
monochromatic
#610EC1 #7F1DEF #9F56F3 #BF8FF7 #E0C8FB
Accessibility & contrast
On white
4.12
#9F56F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#9F56F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F56F3
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F56F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F56F3 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0A7CF0
Tritanopia (blue-blind)
#8D799D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9f56f3; /* rgb */ color: rgb(159, 86, 243); /* oklch */ color: oklch(61.6% 0.225 301.4);
Tailwind
colors: {
custom: {
50: '#c18af8',
500: '#9f56f3',
950: '#000000',
},
}SCSS
$custom: #9f56f3; $custom-light: #c18af8; $custom-dark: #000000;
JSON
{
"hex": "#9f56f3",
"rgb": {
"r": 159,
"g": 86,
"b": 243
},
"hsl": {
"h": 267.898,
"s": 86.74,
"l": 64.51
},
"oklch": {
"l": 0.61552,
"c": 0.22528,
"h": 301.4
},
"luminance": 0.20498
}Semantic roles & 50–950 ramp
primary
#9F56F3
secondary
#D4EDB7
accent
#E3027B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85