#7252CA#7252CA
#7252CA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.178 H 291.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7252CA |
|---|---|
| RGB | rgb(114, 82, 202) |
| HSL | hsl(256, 53%, 56%) |
| HSV | hsv(256, 59%, 79%) |
| CMYK | cmyk(43.6%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.05, 41.56, -58.08) |
| CIE-LCH | lch(44.05, 71.41, 305.58°) |
| OKLab | oklab(53.52% 0.0653 -0.1656) |
| OKLCH | oklch(53.52% 0.178 291.5) |
| XYZ | xyz(20.6144, 13.8756, 57.4578) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 2.99
Iris
#6258C4
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252CA #AACA52
analogous
#526ECA #7252CA #AE52CA
triadic
#7252CA #CA7252 #52CA72
tetradic
#7252CA #CA526E #AACA52 #52CAAE
square
#7252CA #CA526E #AACA52 #52CAAE
split-complementary
#7252CA #CAAE52 #6ECA52
monochromatic
#3D267C #5434AB #7252CA #9881D8 #BEB0E7
Accessibility & contrast
On white
5.56
#7252CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7252CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252CA
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252CA | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0066C7
Tritanopia (blue-blind)
#596D86
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7252ca; /* rgb */ color: rgb(114, 82, 202); /* oklch */ color: oklch(53.5% 0.178 291.5);
Tailwind
colors: {
custom: {
50: '#a084db',
500: '#7252ca',
950: '#000000',
},
}SCSS
$custom: #7252ca; $custom-light: #a084db; $custom-dark: #000000;
JSON
{
"hex": "#7252ca",
"rgb": {
"r": 114,
"g": 82,
"b": 202
},
"hsl": {
"h": 256,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.53524,
"c": 0.17805,
"h": 291.5
},
"luminance": 0.13876
}Semantic roles & 50–950 ramp
primary
#7252CA
secondary
#C8D5A3
accent
#DD4BB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83