#913ED4#913ED4
#913ED4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.220 H 305.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #913ED4 |
|---|---|
| RGB | rgb(145, 62, 212) |
| HSL | hsl(273, 64%, 54%) |
| HSV | hsv(273, 71%, 83%) |
| CMYK | cmyk(31.6%, 70.8%, 0%, 16.9%) |
| CIE-LAB | lab(44.54, 60.58, -62.87) |
| CIE-LCH | lch(44.54, 87.31, 313.94°) |
| OKLab | oklab(54.89% 0.1275 -0.1787) |
| OKLCH | oklch(54.89% 0.22 305.5) |
| XYZ | xyz(25.2807, 14.2186, 63.6872) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.65
Blueviolet
#8A2BE2
ΔE00 3.70
Violet (survey)
#9A0EEA
ΔE00 4.77
Vibrant Purple
#AD03DE
ΔE00 5.38
Vivid Purple
#9900FA
ΔE00 5.82
Darkviolet
#9400D3
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#913ED4 #81D43E
analogous
#463ED4 #913ED4 #D43ECC
triadic
#913ED4 #D4913E #3ED491
tetradic
#913ED4 #D4463E #81D43E #3ECCD4
square
#913ED4 #D4463E #81D43E #3ECCD4
split-complementary
#913ED4 #CCD43E #3ED446
monochromatic
#511C7C #7227AE #913ED4 #AE70DF #CAA2EA
Accessibility & contrast
On white
5.46
#913ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#913ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #913ED4
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##913ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##913ED4 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#856185
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #913ed4; /* rgb */ color: rgb(145, 62, 212); /* oklch */ color: oklch(54.9% 0.220 305.5);
Tailwind
colors: {
custom: {
50: '#b77ae2',
500: '#913ed4',
950: '#000000',
},
}SCSS
$custom: #913ed4; $custom-light: #b77ae2; $custom-dark: #000000;
JSON
{
"hex": "#913ed4",
"rgb": {
"r": 145,
"g": 62,
"b": 212
},
"hsl": {
"h": 273.2,
"s": 63.559,
"l": 53.725
},
"oklch": {
"l": 0.54887,
"c": 0.21952,
"h": 305.5
},
"luminance": 0.14218
}Semantic roles & 50–950 ramp
primary
#913ED4
secondary
#B3D797
accent
#E7418B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84