#7754C8#7754C8
#7754C8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.173 H 293.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7754C8 |
|---|---|
| RGB | rgb(119, 84, 200) |
| HSL | hsl(258, 51%, 56%) |
| HSV | hsv(258, 58%, 78%) |
| CMYK | cmyk(40.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(44.85, 40.96, -55.62) |
| CIE-LCH | lch(44.85, 69.08, 306.37°) |
| OKLab | oklab(54.18% 0.0696 -0.1583) |
| OKLCH | oklch(54.18% 0.173 293.7) |
| XYZ | xyz(21.2006, 14.4322, 56.3011) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.03
Slate Blue
#6A5ACD
ΔE00 3.37
Iris
#6258C4
ΔE00 4.36
Purpley
#8756E4
ΔE00 4.90
Dark Periwinkle
#665FD1
ΔE00 5.21
Royal Purple
#7851A9
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7754C8 #A5C854
analogous
#546BC8 #7754C8 #B154C8
triadic
#7754C8 #C87754 #54C877
tetradic
#7754C8 #C8546B #A5C854 #54C8B1
square
#7754C8 #C8546B #A5C854 #54C8B1
split-complementary
#7754C8 #C8B154 #6BC854
monochromatic
#40277A #5936A9 #7754C8 #9C82D7 #C1B1E6
Accessibility & contrast
On white
5.40
#7754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#7754C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7754C8
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7754C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7754C8 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6BCC
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#626D86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7754c8; /* rgb */ color: rgb(119, 84, 200); /* oklch */ color: oklch(54.2% 0.173 293.7);
Tailwind
colors: {
custom: {
50: '#a385d9',
500: '#7754c8',
950: '#000000',
},
}SCSS
$custom: #7754c8; $custom-light: #a385d9; $custom-dark: #000000;
JSON
{
"hex": "#7754c8",
"rgb": {
"r": 119,
"g": 84,
"b": 200
},
"hsl": {
"h": 258.103,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.54178,
"c": 0.17288,
"h": 293.7
},
"luminance": 0.14433
}Semantic roles & 50–950 ramp
primary
#7754C8
secondary
#C5D4A4
accent
#DB4DB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83