#7752BA#7752BA
#7752BA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.158 H 297.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7752BA |
|---|---|
| RGB | rgb(119, 82, 186) |
| HSL | hsl(261, 43%, 53%) |
| HSV | hsv(261, 56%, 73%) |
| CMYK | cmyk(36%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(43.51, 38.32, -49.64) |
| CIE-LCH | lch(43.51, 62.71, 307.67°) |
| OKLab | oklab(52.91% 0.072 -0.1407) |
| OKLCH | oklch(52.91% 0.158 297.1) |
| XYZ | xyz(19.4857, 13.5014, 48.0243) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.18
Light Indigo
#6D5ACF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.04
Iris
#6258C4
ΔE00 5.28
Deep Lavender
#8D5EB7
ΔE00 6.19
Bluey Purple
#6241C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7752BA #95BA52
analogous
#5261BA #7752BA #AB52BA
triadic
#7752BA #BA7752 #52BA77
tetradic
#7752BA #BA5261 #95BA52 #52BAAB
square
#7752BA #BA5261 #95BA52 #52BAAB
split-complementary
#7752BA #BAAB52 #61BA52
monochromatic
#402A68 #5B3B94 #7752BA #997ECB #BCAADD
Accessibility & contrast
On white
5.68
#7752BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7752BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7752BA
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7752BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7752BA | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#68677E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7752ba; /* rgb */ color: rgb(119, 82, 186); /* oklch */ color: oklch(52.9% 0.158 297.1);
Tailwind
colors: {
custom: {
50: '#a284cf',
500: '#7752ba',
950: '#000000',
},
}SCSS
$custom: #7752ba; $custom-light: #a284cf; $custom-dark: #000000;
JSON
{
"hex": "#7752ba",
"rgb": {
"r": 119,
"g": 82,
"b": 186
},
"hsl": {
"h": 261.346,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.52907,
"c": 0.15803,
"h": 297.1
},
"luminance": 0.13502
}Semantic roles & 50–950 ramp
primary
#7752BA
secondary
#BACA9D
accent
#D355A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82