#754ED1#754ED1
#754ED1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.192 H 292.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #754ED1 |
|---|---|
| RGB | rgb(117, 78, 209) |
| HSL | hsl(258, 59%, 56%) |
| HSV | hsv(258, 63%, 82%) |
| CMYK | cmyk(44%, 62.7%, 0%, 18%) |
| CIE-LAB | lab(43.99, 46.37, -62.19) |
| CIE-LCH | lch(43.99, 77.58, 306.71°) |
| OKLab | oklab(53.7% 0.0733 -0.1777) |
| OKLCH | oklch(53.7% 0.192 292.4) |
| XYZ | xyz(21.5660, 13.8335, 61.8431) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 4.05
Bluish Purple
#703BE7
ΔE00 4.77
Purpley
#8756E4
ΔE00 4.80
Bluey Purple
#6241C7
ΔE00 4.82
Iris
#6258C4
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754ED1 #AAD14E
analogous
#4E69D1 #754ED1 #B74ED1
triadic
#754ED1 #D1754E #4ED175
tetradic
#754ED1 #D14E69 #AAD14E #4ED1B7
square
#754ED1 #D14E69 #AAD14E #4ED1B7
split-complementary
#754ED1 #D1B74E #69D14E
monochromatic
#3F2283 #562FB3 #754ED1 #9B7FDE #C1AFEA
Accessibility & contrast
On white
5.58
#754ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#754ED1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754ED1
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754ED1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754ED1 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#5B6C88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #754ed1; /* rgb */ color: rgb(117, 78, 209); /* oklch */ color: oklch(53.7% 0.192 292.4);
Tailwind
colors: {
custom: {
50: '#a381e0',
500: '#754ed1',
950: '#000000',
},
}SCSS
$custom: #754ed1; $custom-light: #a381e0; $custom-dark: #000000;
JSON
{
"hex": "#754ed1",
"rgb": {
"r": 117,
"g": 78,
"b": 209
},
"hsl": {
"h": 257.863,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.53704,
"c": 0.19219,
"h": 292.4
},
"luminance": 0.13834
}Semantic roles & 50–950 ramp
primary
#754ED1
secondary
#C8D8A2
accent
#E246B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83