#754FE4#754FE4
#754FE4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.214 H 289.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #754FE4 |
|---|---|
| RGB | rgb(117, 79, 228) |
| HSL | hsl(255, 73%, 60%) |
| HSV | hsv(255, 65%, 89%) |
| CMYK | cmyk(48.7%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(45.60, 51.09, -70.43) |
| CIE-LCH | lch(45.60, 87.01, 305.96°) |
| OKLab | oklab(55.31% 0.0703 -0.2019) |
| OKLCH | oklch(55.31% 0.214 289.2) |
| XYZ | xyz(24.1317, 14.9743, 75.0026) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 4.19
Bluish Purple
#703BE7
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FE4 #BEE44F
analogous
#4F73E4 #754FE4 #BF4FE4
triadic
#754FE4 #E4754F #4FE475
tetradic
#754FE4 #E44F73 #BEE44F #4FE4BF
square
#754FE4 #E44F73 #BEE44F #4FE4BF
split-complementary
#754FE4 #E4BF4F #73E44F
monochromatic
#3B19A0 #4F21D5 #754FE4 #9F84EC #C8B9F4
Accessibility & contrast
On white
5.26
#754FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#754FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FE4
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FE4 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#4F7493
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #754fe4; /* rgb */ color: rgb(117, 79, 228); /* oklch */ color: oklch(55.3% 0.214 289.2);
Tailwind
colors: {
custom: {
50: '#a583ee',
500: '#754fe4',
950: '#000000',
},
}SCSS
$custom: #754fe4; $custom-light: #a583ee; $custom-dark: #000000;
JSON
{
"hex": "#754fe4",
"rgb": {
"r": 117,
"g": 79,
"b": 228
},
"hsl": {
"h": 255.302,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.55307,
"c": 0.21376,
"h": 289.2
},
"luminance": 0.14975
}Semantic roles & 50–950 ramp
primary
#754FE4
secondary
#D5E4AB
accent
#D610A3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84