#7754CD#7754CD
#7754CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.179 H 292.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7754CD |
|---|---|
| RGB | rgb(119, 84, 205) |
| HSL | hsl(257, 55%, 57%) |
| HSV | hsv(257, 59%, 80%) |
| CMYK | cmyk(42%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(45.18, 42.34, -57.97) |
| CIE-LCH | lch(45.18, 71.78, 306.14°) |
| OKLab | oklab(54.53% 0.0695 -0.1652) |
| OKLCH | oklch(54.53% 0.179 292.8) |
| XYZ | xyz(21.7945, 14.6698, 59.4290) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 3.15
Purpley
#8756E4
ΔE00 4.33
Iris
#6258C4
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7754CD #AACD54
analogous
#546ECD #7754CD #B354CD
triadic
#7754CD #CD7754 #54CD77
tetradic
#7754CD #CD546E #AACD54 #54CDB3
square
#7754CD #CD546E #AACD54 #54CDB3
split-complementary
#7754CD #CDB354 #6ECD54
monochromatic
#402681 #5834B0 #7754CD #9D83DB #C2B3E9
Accessibility & contrast
On white
5.34
#7754CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7754CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7754CD
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7754CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7754CD | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0F69CA
Tritanopia (blue-blind)
#5F6F88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7754cd; /* rgb */ color: rgb(119, 84, 205); /* oklch */ color: oklch(54.5% 0.179 292.8);
Tailwind
colors: {
custom: {
50: '#a485dd',
500: '#7754cd',
950: '#000000',
},
}SCSS
$custom: #7754cd; $custom-light: #a485dd; $custom-dark: #000000;
JSON
{
"hex": "#7754cd",
"rgb": {
"r": 119,
"g": 84,
"b": 205
},
"hsl": {
"h": 257.355,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.54527,
"c": 0.17918,
"h": 292.8
},
"luminance": 0.1467
}Semantic roles & 50–950 ramp
primary
#7754CD
secondary
#C9D7A6
accent
#DE4AB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83