#7654CE#7654CE
#7654CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.180 H 292.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7654CE |
|---|---|
| RGB | rgb(118, 84, 206) |
| HSL | hsl(257, 55%, 57%) |
| HSV | hsv(257, 59%, 81%) |
| CMYK | cmyk(42.7%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(45.15, 42.40, -58.60) |
| CIE-LCH | lch(45.15, 72.32, 305.89°) |
| OKLab | oklab(54.5% 0.0681 -0.167) |
| OKLCH | oklch(54.5% 0.18 292.2) |
| XYZ | xyz(21.7791, 14.6478, 60.0604) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 2.98
Iris
#6258C4
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7654CE #ACCE54
analogous
#546FCE #7654CE #B354CE
triadic
#7654CE #CE7654 #54CE76
tetradic
#7654CE #CE546F #ACCE54 #54CEB3
square
#7654CE #CE546F #ACCE54 #54CEB3
split-complementary
#7654CE #CEB354 #6FCE54
monochromatic
#3F2582 #5633B2 #7654CE #9C84DC #C2B3E9
Accessibility & contrast
On white
5.34
#7654CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7654CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7654CE
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7654CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7654CE | 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)
#006DD2
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#5D6F89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7654ce; /* rgb */ color: rgb(118, 84, 206); /* oklch */ color: oklch(54.5% 0.180 292.2);
Tailwind
colors: {
custom: {
50: '#a385de',
500: '#7654ce',
950: '#000000',
},
}SCSS
$custom: #7654ce; $custom-light: #a385de; $custom-dark: #000000;
JSON
{
"hex": "#7654ce",
"rgb": {
"r": 118,
"g": 84,
"b": 206
},
"hsl": {
"h": 256.721,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.54503,
"c": 0.1804,
"h": 292.2
},
"luminance": 0.14648
}Semantic roles & 50–950 ramp
primary
#7654CE
secondary
#CAD8A6
accent
#DF49B5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83