#754DC5#754DC5
#754DC5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.179 H 294.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #754DC5 |
|---|---|
| RGB | rgb(117, 77, 197) |
| HSL | hsl(260, 51%, 54%) |
| HSV | hsv(260, 61%, 77%) |
| CMYK | cmyk(40.6%, 60.9%, 0%, 22.7%) |
| CIE-LAB | lab(42.94, 43.65, -56.96) |
| CIE-LCH | lch(42.94, 71.76, 307.46°) |
| OKLab | oklab(52.67% 0.0752 -0.1623) |
| OKLCH | oklch(52.67% 0.179 294.9) |
| XYZ | xyz(20.0654, 13.1204, 54.2878) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.49
Bluey Purple
#6241C7
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.69
Iris
#6258C4
ΔE00 5.09
Royal Purple
#7851A9
ΔE00 5.19
Bluish Purple
#703BE7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754DC5 #9DC54D
analogous
#4D61C5 #754DC5 #B14DC5
triadic
#754DC5 #C5754D #4DC575
tetradic
#754DC5 #C54D61 #9DC54D #4DC5B1
square
#754DC5 #C54D61 #9DC54D #4DC5B1
split-complementary
#754DC5 #C5B14D #61C54D
monochromatic
#3F2572 #5834A0 #754DC5 #997BD4 #BDA9E3
Accessibility & contrast
On white
5.79
#754DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#754DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754DC5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754DC5 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0664C2
Tritanopia (blue-blind)
#606882
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #754dc5; /* rgb */ color: rgb(117, 77, 197); /* oklch */ color: oklch(52.7% 0.179 294.9);
Tailwind
colors: {
custom: {
50: '#a281d7',
500: '#754dc5',
950: '#000000',
},
}SCSS
$custom: #754dc5; $custom-light: #a281d7; $custom-dark: #000000;
JSON
{
"hex": "#754dc5",
"rgb": {
"r": 117,
"g": 77,
"b": 197
},
"hsl": {
"h": 260,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.52674,
"c": 0.17885,
"h": 294.9
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#754DC5
secondary
#BFD19D
accent
#DA4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83