#5F3FE3#5F3FE3
#5F3FE3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.232 H 283.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FE3 |
|---|---|
| RGB | rgb(95, 63, 227) |
| HSL | hsl(252, 75%, 57%) |
| HSV | hsv(252, 72%, 89%) |
| CMYK | cmyk(58.1%, 72.2%, 0%, 11%) |
| CIE-LAB | lab(40.46, 55.78, -78.34) |
| CIE-LCH | lch(40.46, 96.17, 305.45°) |
| OKLab | oklab(51.13% 0.054 -0.2257) |
| OKLCH | oklch(51.13% 0.232 283.5) |
| XYZ | xyz(20.3577, 11.5326, 73.8114) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.63
Purpley Blue
#5F34E7
ΔE00 2.09
Bluish Purple
#703BE7
ΔE00 2.48
Burple
#6832E3
ΔE00 2.66
Bluey Purple
#6241C7
ΔE00 3.63
Blurple
#5539CC
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FE3 #C3E33F
analogous
#3F71E3 #5F3FE3 #B13FE3
triadic
#5F3FE3 #E35F3F #3FE35F
tetradic
#5F3FE3 #E33F71 #C3E33F #3FE3B1
square
#5F3FE3 #E33F71 #C3E33F #3FE3B1
split-complementary
#5F3FE3 #E3B13F #71E33F
monochromatic
#2E1592 #3E1DC8 #5F3FE3 #8C74EB #B8AAF3
Accessibility & contrast
On white
6.35
#5F3FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5F3FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FE3
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FE3 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#086C8D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f3fe3; /* rgb */ color: rgb(95, 63, 227); /* oklch */ color: oklch(51.1% 0.232 283.5);
Tailwind
colors: {
custom: {
50: '#9a77ed',
500: '#5f3fe3',
950: '#000000',
},
}SCSS
$custom: #5f3fe3; $custom-light: #9a77ed; $custom-dark: #000000;
JSON
{
"hex": "#5f3fe3",
"rgb": {
"r": 95,
"g": 63,
"b": 227
},
"hsl": {
"h": 251.707,
"s": 74.545,
"l": 56.863
},
"oklch": {
"l": 0.51126,
"c": 0.23208,
"h": 283.5
},
"luminance": 0.11534
}Semantic roles & 50–950 ramp
primary
#5F3FE3
secondary
#D3E09D
accent
#F137CD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84