#5F3CCF#5F3CCF
#5F3CCF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.212 H 286.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3CCF |
|---|---|
| RGB | rgb(95, 60, 207) |
| HSL | hsl(254, 60%, 52%) |
| HSV | hsv(254, 71%, 81%) |
| CMYK | cmyk(54.1%, 71%, 0%, 18.8%) |
| CIE-LAB | lab(38.14, 51.58, -70.67) |
| CIE-LCH | lch(38.14, 87.49, 306.13°) |
| OKLab | oklab(48.94% 0.0605 -0.2032) |
| OKLCH | oklch(48.94% 0.212 286.6) |
| XYZ | xyz(17.5943, 10.1687, 60.0550) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.55
Blurple
#5539CC
ΔE00 1.66
Blue With A Hint Of Purple
#533CC6
ΔE00 2.16
Purpley Blue
#5F34E7
ΔE00 3.08
Burple
#6832E3
ΔE00 3.10
Bluish Purple
#703BE7
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3CCF #ACCF3C
analogous
#3C62CF #5F3CCF #A93CCF
triadic
#5F3CCF #CF5F3C #3CCF5F
tetradic
#5F3CCF #CF3C62 #ACCF3C #3CCFA9
square
#5F3CCF #CF3C62 #ACCF3C #3CCFA9
split-complementary
#5F3CCF #CFA93C #62CF3C
monochromatic
#311D74 #4629A5 #5F3CCF #876DDB #B09EE7
Accessibility & contrast
On white
6.92
#5F3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#5F3CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3CCF
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3CCF | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#2F6382
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5f3ccf; /* rgb */ color: rgb(95, 60, 207); /* oklch */ color: oklch(48.9% 0.212 286.6);
Tailwind
colors: {
custom: {
50: '#9775df',
500: '#5f3ccf',
950: '#000000',
},
}SCSS
$custom: #5f3ccf; $custom-light: #9775df; $custom-dark: #000000;
JSON
{
"hex": "#5f3ccf",
"rgb": {
"r": 95,
"g": 60,
"b": 207
},
"hsl": {
"h": 254.286,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.4894,
"c": 0.21204,
"h": 286.6
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#5F3CCF
secondary
#C4D393
accent
#E444BE
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83