#7754CF#7754CF
#7754CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.182 H 292.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7754CF |
|---|---|
| RGB | rgb(119, 84, 207) |
| HSL | hsl(257, 56%, 57%) |
| HSV | hsv(257, 59%, 81%) |
| CMYK | cmyk(42.5%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.31, 42.89, -58.90) |
| CIE-LCH | lch(45.31, 72.86, 306.06°) |
| OKLab | oklab(54.67% 0.0694 -0.1679) |
| OKLCH | oklch(54.67% 0.182 292.5) |
| XYZ | xyz(22.0375, 14.7669, 60.7086) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.66
Slate Blue
#6A5ACD
ΔE00 3.11
Purpley
#8756E4
ΔE00 4.12
Iris
#6258C4
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7754CF #ACCF54
analogous
#546FCF #7754CF #B454CF
triadic
#7754CF #CF7754 #54CF77
tetradic
#7754CF #CF546F #ACCF54 #54CFB4
square
#7754CF #CF546F #ACCF54 #54CFB4
split-complementary
#7754CF #CFB454 #6FCF54
monochromatic
#402584 #5732B3 #7754CF #9D84DC #C3B4EA
Accessibility & contrast
On white
5.31
#7754CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7754CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7754CF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7754CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7754CF | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0669CC
Tritanopia (blue-blind)
#5F6F89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7754cf; /* rgb */ color: rgb(119, 84, 207); /* oklch */ color: oklch(54.7% 0.182 292.5);
Tailwind
colors: {
custom: {
50: '#a485de',
500: '#7754cf',
950: '#000000',
},
}SCSS
$custom: #7754cf; $custom-light: #a485de; $custom-dark: #000000;
JSON
{
"hex": "#7754cf",
"rgb": {
"r": 119,
"g": 84,
"b": 207
},
"hsl": {
"h": 257.073,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.54669,
"c": 0.18169,
"h": 292.5
},
"luminance": 0.14768
}Semantic roles & 50–950 ramp
primary
#7754CF
secondary
#CAD8A6
accent
#DF48B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83