#7452CB#7452CB
#7452CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.179 H 292.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7452CB |
|---|---|
| RGB | rgb(116, 82, 203) |
| HSL | hsl(257, 54%, 56%) |
| HSV | hsv(257, 60%, 80%) |
| CMYK | cmyk(42.9%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.32, 42.27, -58.22) |
| CIE-LCH | lch(44.32, 71.94, 305.98°) |
| OKLab | oklab(53.78% 0.0679 -0.166) |
| OKLCH | oklch(53.78% 0.179 292.2) |
| XYZ | xyz(20.9963, 14.0588, 58.0957) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.18
Iris
#6258C4
ΔE00 4.08
Purpley
#8756E4
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7452CB #A9CB52
analogous
#526CCB #7452CB #B152CB
triadic
#7452CB #CB7452 #52CB74
tetradic
#7452CB #CB526C #A9CB52 #52CBB1
square
#7452CB #CB526C #A9CB52 #52CBB1
split-complementary
#7452CB #CBB152 #6CCB52
monochromatic
#3E267D #5634AC #7452CB #9A81D9 #C0B0E7
Accessibility & contrast
On white
5.51
#7452CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7452CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7452CB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7452CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7452CB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0266C8
Tritanopia (blue-blind)
#5C6D87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7452cb; /* rgb */ color: rgb(116, 82, 203); /* oklch */ color: oklch(53.8% 0.179 292.2);
Tailwind
colors: {
custom: {
50: '#a284dc',
500: '#7452cb',
950: '#000000',
},
}SCSS
$custom: #7452cb; $custom-light: #a284dc; $custom-dark: #000000;
JSON
{
"hex": "#7452cb",
"rgb": {
"r": 116,
"g": 82,
"b": 203
},
"hsl": {
"h": 256.86,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.53784,
"c": 0.17935,
"h": 292.2
},
"luminance": 0.14059
}Semantic roles & 50–950 ramp
primary
#7452CB
secondary
#C7D5A3
accent
#DD4BB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83