#5D2DFE#5D2DFE
#5D2DFE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.7% C 0.277 H 281.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2DFE |
|---|---|
| RGB | rgb(93, 45, 254) |
| HSL | hsl(254, 99%, 59%) |
| HSV | hsv(254, 82%, 100%) |
| CMYK | cmyk(63.4%, 82.3%, 0%, 0.4%) |
| CIE-LAB | lab(40.18, 70.95, -94.06) |
| CIE-LCH | lch(40.18, 117.82, 307.03°) |
| OKLab | oklab(51.67% 0.0537 -0.2714) |
| OKLCH | oklch(51.67% 0.277 281.2) |
| XYZ | xyz(23.3363, 11.3579, 94.7092) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purplish Blue
#601EF9
ΔE00 2.10
Purpley Blue
#5F34E7
ΔE00 2.54
Light Royal Blue
#3A2EFE
ΔE00 3.04
Burple
#6832E3
ΔE00 3.11
Purpleish Blue
#6140EF
ΔE00 3.21
Purply Blue
#661AEE
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2DFE #CEFE2D
analogous
#2D65FE #5D2DFE #C52DFE
triadic
#5D2DFE #FE5D2D #2DFE5D
tetradic
#5D2DFE #FE2D65 #CEFE2D #2DFEC5
square
#5D2DFE #FE2D65 #CEFE2D #2DFEC5
split-complementary
#5D2DFE #FEC52D #65FE2D
monochromatic
#2901B0 #3701ED #5D2DFE #8C6AFE #BBA7FF
Accessibility & contrast
On white
6.42
#5D2DFE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5D2DFE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D2DFE
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2DFE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2DFE | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#0057FA
Tritanopia (blue-blind)
#007099
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5d2dfe; /* rgb */ color: rgb(93, 45, 254); /* oklch */ color: oklch(51.7% 0.277 281.2);
Tailwind
colors: {
custom: {
50: '#9f6fff',
500: '#5d2dfe',
950: '#000000',
},
}SCSS
$custom: #5d2dfe; $custom-light: #9f6fff; $custom-dark: #000000;
JSON
{
"hex": "#5d2dfe",
"rgb": {
"r": 93,
"g": 45,
"b": 254
},
"hsl": {
"h": 253.78,
"s": 99.052,
"l": 58.627
},
"oklch": {
"l": 0.5167,
"c": 0.27667,
"h": 281.2
},
"luminance": 0.1136
}Semantic roles & 50–950 ramp
primary
#5D2DFE
secondary
#DAED9A
accent
#FF29CE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#110818
muted
#807B86