#754EE2#754EE2
#754EE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.213 H 289.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #754EE2 |
|---|---|
| RGB | rgb(117, 78, 226) |
| HSL | hsl(256, 72%, 60%) |
| HSV | hsv(256, 65%, 89%) |
| CMYK | cmyk(48.2%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(45.25, 51.07, -69.86) |
| CIE-LCH | lch(45.25, 86.54, 306.17°) |
| OKLab | oklab(55.01% 0.0715 -0.2002) |
| OKLCH | oklch(55.01% 0.213 289.7) |
| XYZ | xyz(23.7840, 14.7207, 73.5250) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.88
Bluish Purple
#703BE7
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.22
Purpleish Blue
#6140EF
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EE2 #BBE24E
analogous
#4E71E2 #754EE2 #BF4EE2
triadic
#754EE2 #E2754E #4EE275
tetradic
#754EE2 #E24E71 #BBE24E #4EE2BF
square
#754EE2 #E24E71 #BBE24E #4EE2BF
split-complementary
#754EE2 #E2BF4E #71E24E
monochromatic
#3C1A9C #5022D1 #754EE2 #9E83EB #C7B7F3
Accessibility & contrast
On white
5.32
#754EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#754EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EE2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EE2 | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#517291
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #754ee2; /* rgb */ color: rgb(117, 78, 226); /* oklch */ color: oklch(55.0% 0.213 289.7);
Tailwind
colors: {
custom: {
50: '#a582ec',
500: '#754ee2',
950: '#000000',
},
}SCSS
$custom: #754ee2; $custom-light: #a582ec; $custom-dark: #000000;
JSON
{
"hex": "#754ee2",
"rgb": {
"r": 117,
"g": 78,
"b": 226
},
"hsl": {
"h": 255.811,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.55007,
"c": 0.21259,
"h": 289.7
},
"luminance": 0.14722
}Semantic roles & 50–950 ramp
primary
#754EE2
secondary
#D3E3A9
accent
#EF39BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84