#7252C8#7252C8
#7252C8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.176 H 291.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7252C8 |
|---|---|
| RGB | rgb(114, 82, 200) |
| HSL | hsl(256, 52%, 55%) |
| HSV | hsv(256, 59%, 78%) |
| CMYK | cmyk(43%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(43.92, 41.00, -57.14) |
| CIE-LCH | lch(43.92, 70.33, 305.66°) |
| OKLab | oklab(53.38% 0.0653 -0.1629) |
| OKLCH | oklch(53.38% 0.176 291.9) |
| XYZ | xyz(20.3792, 13.7815, 56.2187) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.09
Iris
#6258C4
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 5.03
Bluey Purple
#6241C7
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252C8 #A8C852
analogous
#526DC8 #7252C8 #AD52C8
triadic
#7252C8 #C87252 #52C872
tetradic
#7252C8 #C8526D #A8C852 #52C8AD
square
#7252C8 #C8526D #A8C852 #52C8AD
split-complementary
#7252C8 #C8AD52 #6DC852
monochromatic
#3D2779 #5435A8 #7252C8 #9880D7 #BEAFE6
Accessibility & contrast
On white
5.59
#7252C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7252C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252C8
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252C8 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#5A6C85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7252c8; /* rgb */ color: rgb(114, 82, 200); /* oklch */ color: oklch(53.4% 0.176 291.9);
Tailwind
colors: {
custom: {
50: '#a084d9',
500: '#7252c8',
950: '#000000',
},
}SCSS
$custom: #7252c8; $custom-light: #a084d9; $custom-dark: #000000;
JSON
{
"hex": "#7252c8",
"rgb": {
"r": 114,
"g": 82,
"b": 200
},
"hsl": {
"h": 256.271,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.53381,
"c": 0.17551,
"h": 291.9
},
"luminance": 0.13782
}Semantic roles & 50–950 ramp
primary
#7252C8
secondary
#C6D4A2
accent
#DB4DB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83