#7152AA#7152AA
#7152AA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.136 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7152AA |
|---|---|
| RGB | rgb(113, 82, 170) |
| HSL | hsl(261, 35%, 49%) |
| HSV | hsv(261, 52%, 67%) |
| CMYK | cmyk(33.5%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(41.92, 32.51, -42.81) |
| CIE-LCH | lch(41.92, 53.76, 307.21°) |
| OKLab | oklab(51.27% 0.0633 -0.1208) |
| OKLCH | oklch(51.27% 0.136 297.7) |
| XYZ | xyz(17.0813, 12.4474, 39.5251) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.72
Iris
#6258C4
ΔE00 6.25
Slate Blue
#6A5ACD
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.81
Deep Lavender
#8D5EB7
ΔE00 6.87
Bluey Purple
#6241C7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152AA #8BAA52
analogous
#525FAA #7152AA #9D52AA
triadic
#7152AA #AA7152 #52AA71
tetradic
#7152AA #AA525F #8BAA52 #52AA9D
square
#7152AA #AA525F #8BAA52 #52AA9D
split-complementary
#7152AA #AA9D52 #5FAA52
monochromatic
#3A2A57 #563E81 #7152AA #927ABF #B4A4D3
Accessibility & contrast
On white
6.02
#7152AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7152AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152AA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152AA | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#656376
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7152aa; /* rgb */ color: rgb(113, 82, 170); /* oklch */ color: oklch(51.3% 0.136 297.7);
Tailwind
colors: {
custom: {
50: '#9d83c4',
500: '#7152aa',
950: '#000000',
},
}SCSS
$custom: #7152aa; $custom-light: #9d83c4; $custom-dark: #000000;
JSON
{
"hex": "#7152aa",
"rgb": {
"r": 113,
"g": 82,
"b": 170
},
"hsl": {
"h": 261.136,
"s": 34.921,
"l": 49.412
},
"oklch": {
"l": 0.51272,
"c": 0.13642,
"h": 297.7
},
"luminance": 0.12448
}Semantic roles & 50–950 ramp
primary
#7152AA
secondary
#B2C098
accent
#CB5DA4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82