#754DC6#754DC6
#754DC6 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.180 H 294.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #754DC6 |
|---|---|
| RGB | rgb(117, 77, 198) |
| HSL | hsl(260, 51%, 54%) |
| HSV | hsv(260, 61%, 78%) |
| CMYK | cmyk(40.9%, 61.1%, 0%, 22.4%) |
| CIE-LAB | lab(43.01, 43.92, -57.43) |
| CIE-LCH | lch(43.01, 72.30, 307.41°) |
| OKLab | oklab(52.75% 0.0752 -0.1636) |
| OKLCH | oklch(52.75% 0.18 294.7) |
| XYZ | xyz(20.1803, 13.1664, 54.8933) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.42
Bluey Purple
#6241C7
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.63
Iris
#6258C4
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754DC6 #9EC64D
analogous
#4D62C6 #754DC6 #B24DC6
triadic
#754DC6 #C6754D #4DC675
tetradic
#754DC6 #C64D62 #9EC64D #4DC6B2
square
#754DC6 #C64D62 #9EC64D #4DC6B2
split-complementary
#754DC6 #C6B24D #62C64D
monochromatic
#3F2574 #5834A2 #754DC6 #997BD5 #BDAAE4
Accessibility & contrast
On white
5.78
#754DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#754DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754DC6
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754DC6 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#0264C3
Tritanopia (blue-blind)
#606882
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #754dc6; /* rgb */ color: rgb(117, 77, 198); /* oklch */ color: oklch(52.7% 0.180 294.7);
Tailwind
colors: {
custom: {
50: '#a281d8',
500: '#754dc6',
950: '#000000',
},
}SCSS
$custom: #754dc6; $custom-light: #a281d8; $custom-dark: #000000;
JSON
{
"hex": "#754dc6",
"rgb": {
"r": 117,
"g": 77,
"b": 198
},
"hsl": {
"h": 259.835,
"s": 51.489,
"l": 53.922
},
"oklch": {
"l": 0.52746,
"c": 0.18008,
"h": 294.7
},
"luminance": 0.13167
}Semantic roles & 50–950 ramp
primary
#754DC6
secondary
#C0D19E
accent
#DB4DAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83