#7252CE#7252CE
#7252CE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.183 H 290.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7252CE |
|---|---|
| RGB | rgb(114, 82, 206) |
| HSL | hsl(255, 56%, 56%) |
| HSV | hsv(255, 60%, 81%) |
| CMYK | cmyk(44.7%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(44.33, 42.68, -59.94) |
| CIE-LCH | lch(44.33, 73.58, 305.45°) |
| OKLab | oklab(53.81% 0.0651 -0.1711) |
| OKLCH | oklch(53.81% 0.183 290.8) |
| XYZ | xyz(21.0942, 14.0675, 59.9844) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.58
Slate Blue
#6A5ACD
ΔE00 2.88
Iris
#6258C4
ΔE00 3.85
Dark Periwinkle
#665FD1
ΔE00 4.75
Purpley
#8756E4
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252CE #AECE52
analogous
#5270CE #7252CE #B052CE
triadic
#7252CE #CE7252 #52CE72
tetradic
#7252CE #CE5270 #AECE52 #52CEB0
square
#7252CE #CE5270 #AECE52 #52CEB0
split-complementary
#7252CE #CEB052 #70CE52
monochromatic
#3C2581 #5332B1 #7252CE #9982DC #C0B1E9
Accessibility & contrast
On white
5.51
#7252CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7252CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252CE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252CE | 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)
#006BD2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#576E88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7252ce; /* rgb */ color: rgb(114, 82, 206); /* oklch */ color: oklch(53.8% 0.183 290.8);
Tailwind
colors: {
custom: {
50: '#a184de',
500: '#7252ce',
950: '#000000',
},
}SCSS
$custom: #7252ce; $custom-light: #a184de; $custom-dark: #000000;
JSON
{
"hex": "#7252ce",
"rgb": {
"r": 114,
"g": 82,
"b": 206
},
"hsl": {
"h": 255.484,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.53813,
"c": 0.18309,
"h": 290.8
},
"luminance": 0.14068
}Semantic roles & 50–950 ramp
primary
#7252CE
secondary
#CAD7A4
accent
#DF49B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83