#754CBD#754CBD
#754CBD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.170 H 296.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #754CBD |
|---|---|
| RGB | rgb(117, 76, 189) |
| HSL | hsl(262, 46%, 52%) |
| HSV | hsv(262, 60%, 74%) |
| CMYK | cmyk(38.1%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(42.19, 42.06, -53.52) |
| CIE-LCH | lch(42.19, 68.07, 308.16°) |
| OKLab | oklab(51.95% 0.0767 -0.1521) |
| OKLCH | oklch(51.95% 0.17 296.8) |
| XYZ | xyz(19.1035, 12.6246, 49.5646) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.52
Iris
#6258C4
ΔE00 5.62
Bluish Purple
#703BE7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CBD #94BD4C
analogous
#4C5CBD #754CBD #AE4CBD
triadic
#754CBD #BD754C #4CBD75
tetradic
#754CBD #BD4C5C #94BD4C #4CBDAE
square
#754CBD #BD4C5C #94BD4C #4CBDAE
split-complementary
#754CBD #BDAE4C #5CBD4C
monochromatic
#3E2668 #593795 #754CBD #9779CD #BAA5DE
Accessibility & contrast
On white
5.96
#754CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#754CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CBD
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CBD | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#1C62BB
Tritanopia (blue-blind)
#64647D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754cbd; /* rgb */ color: rgb(117, 76, 189); /* oklch */ color: oklch(52.0% 0.170 296.8);
Tailwind
colors: {
custom: {
50: '#a180d2',
500: '#754cbd',
950: '#000000',
},
}SCSS
$custom: #754cbd; $custom-light: #a180d2; $custom-dark: #000000;
JSON
{
"hex": "#754cbd",
"rgb": {
"r": 117,
"g": 76,
"b": 189
},
"hsl": {
"h": 261.77,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.51953,
"c": 0.17039,
"h": 296.8
},
"luminance": 0.12625
}Semantic roles & 50–950 ramp
primary
#754CBD
secondary
#B9CB9A
accent
#D652A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82