#7754CE#7754CE
#7754CE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.180 H 292.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7754CE |
|---|---|
| RGB | rgb(119, 84, 206) |
| HSL | hsl(257, 55%, 57%) |
| HSV | hsv(257, 59%, 81%) |
| CMYK | cmyk(42.2%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(45.25, 42.61, -58.43) |
| CIE-LCH | lch(45.25, 72.32, 306.10°) |
| OKLab | oklab(54.6% 0.0695 -0.1665) |
| OKLCH | oklch(54.6% 0.18 292.6) |
| XYZ | xyz(21.9156, 14.7182, 60.0668) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.69
Slate Blue
#6A5ACD
ΔE00 3.13
Purpley
#8756E4
ΔE00 4.22
Iris
#6258C4
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7754CE #ABCE54
analogous
#546ECE #7754CE #B454CE
triadic
#7754CE #CE7754 #54CE77
tetradic
#7754CE #CE546E #ABCE54 #54CEB4
square
#7754CE #CE546E #ABCE54 #54CEB4
split-complementary
#7754CE #CEB454 #6ECE54
monochromatic
#402582 #5733B2 #7754CE #9D84DC #C3B3E9
Accessibility & contrast
On white
5.32
#7754CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7754CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7754CE
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7754CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7754CE | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0B69CB
Tritanopia (blue-blind)
#5F6F89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7754ce; /* rgb */ color: rgb(119, 84, 206); /* oklch */ color: oklch(54.6% 0.180 292.6);
Tailwind
colors: {
custom: {
50: '#a485de',
500: '#7754ce',
950: '#000000',
},
}SCSS
$custom: #7754ce; $custom-light: #a485de; $custom-dark: #000000;
JSON
{
"hex": "#7754ce",
"rgb": {
"r": 119,
"g": 84,
"b": 206
},
"hsl": {
"h": 257.213,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.54598,
"c": 0.18043,
"h": 292.6
},
"luminance": 0.14719
}Semantic roles & 50–950 ramp
primary
#7754CE
secondary
#CAD8A6
accent
#DF49B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83