#754EBC#754EBC
#754EBC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.166 H 296.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #754EBC |
|---|---|
| RGB | rgb(117, 78, 188) |
| HSL | hsl(261, 45%, 52%) |
| HSV | hsv(261, 59%, 74%) |
| CMYK | cmyk(37.8%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(42.55, 40.66, -52.35) |
| CIE-LCH | lch(42.55, 66.29, 307.83°) |
| OKLab | oklab(52.2% 0.0743 -0.1487) |
| OKLCH | oklch(52.2% 0.166 296.6) |
| XYZ | xyz(19.1353, 12.8612, 49.0415) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 5.11
Bluey Purple
#6241C7
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.23
Iris
#6258C4
ΔE00 5.34
Purpley
#8756E4
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EBC #95BC4E
analogous
#4E5EBC #754EBC #AC4EBC
triadic
#754EBC #BC754E #4EBC75
tetradic
#754EBC #BC4E5E #95BC4E #4EBCAC
square
#754EBC #BC4E5E #95BC4E #4EBCAC
split-complementary
#754EBC #BCAC4E #5EBC4E
monochromatic
#3E2768 #593895 #754EBC #987ACD #BAA7DE
Accessibility & contrast
On white
5.88
#754EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#754EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EBC
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EBC | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#64657D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754ebc; /* rgb */ color: rgb(117, 78, 188); /* oklch */ color: oklch(52.2% 0.166 296.6);
Tailwind
colors: {
custom: {
50: '#a181d1',
500: '#754ebc',
950: '#000000',
},
}SCSS
$custom: #754ebc; $custom-light: #a181d1; $custom-dark: #000000;
JSON
{
"hex": "#754ebc",
"rgb": {
"r": 117,
"g": 78,
"b": 188
},
"hsl": {
"h": 261.273,
"s": 45.082,
"l": 52.157
},
"oklch": {
"l": 0.52197,
"c": 0.16626,
"h": 296.6
},
"luminance": 0.12862
}Semantic roles & 50–950 ramp
primary
#754EBC
secondary
#BACB9B
accent
#D553A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82