#7752CB#7752CB
#7752CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.179 H 293.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7752CB |
|---|---|
| RGB | rgb(119, 82, 203) |
| HSL | hsl(258, 54%, 56%) |
| HSV | hsv(258, 60%, 80%) |
| CMYK | cmyk(41.4%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.61, 42.92, -57.72) |
| CIE-LCH | lch(44.61, 71.93, 306.63°) |
| OKLab | oklab(54.07% 0.0719 -0.1645) |
| OKLCH | oklch(54.07% 0.179 293.6) |
| XYZ | xyz(21.4016, 14.2678, 58.1147) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 3.57
Iris
#6258C4
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.70
Dark Periwinkle
#665FD1
ΔE00 5.43
Bluey Purple
#6241C7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7752CB #A6CB52
analogous
#5269CB #7752CB #B352CB
triadic
#7752CB #CB7752 #52CB77
tetradic
#7752CB #CB5269 #A6CB52 #52CBB3
square
#7752CB #CB5269 #A6CB52 #52CBB3
split-complementary
#7752CB #CBB352 #69CB52
monochromatic
#40267D #5934AC #7752CB #9C81D9 #C1B0E7
Accessibility & contrast
On white
5.45
#7752CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7752CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7752CB
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7752CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7752CB | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#616D87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7752cb; /* rgb */ color: rgb(119, 82, 203); /* oklch */ color: oklch(54.1% 0.179 293.6);
Tailwind
colors: {
custom: {
50: '#a484dc',
500: '#7752cb',
950: '#000000',
},
}SCSS
$custom: #7752cb; $custom-light: #a484dc; $custom-dark: #000000;
JSON
{
"hex": "#7752cb",
"rgb": {
"r": 119,
"g": 82,
"b": 203
},
"hsl": {
"h": 258.347,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.54072,
"c": 0.17946,
"h": 293.6
},
"luminance": 0.14268
}Semantic roles & 50–950 ramp
primary
#7752CB
secondary
#C6D5A3
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83