#7252BE#7252BE
#7252BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.163 H 293.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7252BE |
|---|---|
| RGB | rgb(114, 82, 190) |
| HSL | hsl(258, 45%, 53%) |
| HSV | hsv(258, 57%, 75%) |
| CMYK | cmyk(40%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(43.26, 38.21, -52.41) |
| CIE-LCH | lch(43.26, 64.86, 306.10°) |
| OKLab | oklab(52.68% 0.0655 -0.149) |
| OKLCH | oklch(52.68% 0.163 293.7) |
| XYZ | xyz(19.2485, 13.3292, 50.2639) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 3.95
Iris
#6258C4
ΔE00 4.07
Royal Purple
#7851A9
ΔE00 4.29
Bluey Purple
#6241C7
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252BE #9EBE52
analogous
#5268BE #7252BE #A852BE
triadic
#7252BE #BE7252 #52BE72
tetradic
#7252BE #BE5268 #9EBE52 #52BEA8
square
#7252BE #BE5268 #9EBE52 #52BEA8
split-complementary
#7252BE #BEA852 #68BE52
monochromatic
#3D296D #563A99 #7252BE #967ECF #BBABDF
Accessibility & contrast
On white
5.73
#7252BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7252BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252BE
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252BE | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#5E6980
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7252be; /* rgb */ color: rgb(114, 82, 190); /* oklch */ color: oklch(52.7% 0.163 293.7);
Tailwind
colors: {
custom: {
50: '#9f84d2',
500: '#7252be',
950: '#000000',
},
}SCSS
$custom: #7252be; $custom-light: #9f84d2; $custom-dark: #000000;
JSON
{
"hex": "#7252be",
"rgb": {
"r": 114,
"g": 82,
"b": 190
},
"hsl": {
"h": 257.778,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.52682,
"c": 0.16272,
"h": 293.7
},
"luminance": 0.1333
}Semantic roles & 50–950 ramp
primary
#7252BE
secondary
#BFCD9F
accent
#D553AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83