#7152F9#7152F9
#7152F9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.235 H 284.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7152F9 |
|---|---|
| RGB | rgb(113, 82, 249) |
| HSL | hsl(251, 93%, 65%) |
| HSV | hsv(251, 67%, 98%) |
| CMYK | cmyk(54.6%, 67.1%, 0%, 2.4%) |
| CIE-LAB | lab(47.47, 54.77, -79.19) |
| CIE-LCH | lch(47.47, 96.29, 304.67°) |
| OKLab | oklab(57.08% 0.0594 -0.2277) |
| OKLCH | oklch(57.08% 0.235 284.6) |
| XYZ | xyz(26.9210, 16.3833, 91.3479) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.51
Purpleish Blue
#6140EF
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 5.77
Mediumslateblue
#7B68EE
ΔE00 6.10
Bluish Purple
#703BE7
ΔE00 6.12
Slate Blue
#6A5ACD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152F9 #DAF952
analogous
#5286F9 #7152F9 #C552F9
triadic
#7152F9 #F97152 #52F971
tetradic
#7152F9 #F95286 #DAF952 #52F9C5
square
#7152F9 #F95286 #DAF952 #52F9C5
split-complementary
#7152F9 #F9C552 #86F952
monochromatic
#2B07CA #4017F7 #7152F9 #A28DFB #D2C8FD
Accessibility & contrast
On white
4.91
#7152F9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7152F9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152F9
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152F9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152F9 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075FE
Deuteranopia (green-blind)
#006BF6
Tritanopia (blue-blind)
#327D9F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7152f9; /* rgb */ color: rgb(113, 82, 249); /* oklch */ color: oklch(57.1% 0.235 284.6);
Tailwind
colors: {
custom: {
50: '#a685fc',
500: '#7152f9',
950: '#000000',
},
}SCSS
$custom: #7152f9; $custom-light: #a685fc; $custom-dark: #000000;
JSON
{
"hex": "#7152f9",
"rgb": {
"r": 113,
"g": 82,
"b": 249
},
"hsl": {
"h": 251.138,
"s": 93.296,
"l": 64.902
},
"oklch": {
"l": 0.57079,
"c": 0.23536,
"h": 284.6
},
"luminance": 0.16385
}Semantic roles & 50–950 ramp
primary
#7152F9
secondary
#E5F0B7
accent
#E600BB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86