#754FC5#754FC5
#754FC5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.176 H 294.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #754FC5 |
|---|---|
| RGB | rgb(117, 79, 197) |
| HSL | hsl(259, 50%, 54%) |
| HSV | hsv(259, 60%, 77%) |
| CMYK | cmyk(40.6%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.37, 42.53, -56.28) |
| CIE-LCH | lch(43.37, 70.54, 307.08°) |
| OKLab | oklab(52.98% 0.0729 -0.1603) |
| OKLCH | oklch(52.98% 0.176 294.5) |
| XYZ | xyz(20.2075, 13.4046, 54.3352) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.26
Iris
#6258C4
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 4.88
Royal Purple
#7851A9
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FC5 #9FC54F
analogous
#4F64C5 #754FC5 #B04FC5
triadic
#754FC5 #C5754F #4FC575
tetradic
#754FC5 #C54F64 #9FC54F #4FC5B0
square
#754FC5 #C54F64 #9FC54F #4FC5B0
split-complementary
#754FC5 #C5B04F #64C54F
monochromatic
#3F2674 #5835A2 #754FC5 #997DD4 #BDABE3
Accessibility & contrast
On white
5.70
#754FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#754FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FC5
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FC5 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1065C2
Tritanopia (blue-blind)
#606982
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #754fc5; /* rgb */ color: rgb(117, 79, 197); /* oklch */ color: oklch(53.0% 0.176 294.5);
Tailwind
colors: {
custom: {
50: '#a282d7',
500: '#754fc5',
950: '#000000',
},
}SCSS
$custom: #754fc5; $custom-light: #a282d7; $custom-dark: #000000;
JSON
{
"hex": "#754fc5",
"rgb": {
"r": 117,
"g": 79,
"b": 197
},
"hsl": {
"h": 259.322,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.52983,
"c": 0.17607,
"h": 294.5
},
"luminance": 0.13405
}Semantic roles & 50–950 ramp
primary
#754FC5
secondary
#C1D19F
accent
#DA4EAD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83