#7152CF#7152CF
#7152CF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.184 H 290.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7152CF |
|---|---|
| RGB | rgb(113, 82, 207) |
| HSL | hsl(255, 57%, 57%) |
| HSV | hsv(255, 60%, 81%) |
| CMYK | cmyk(45.4%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.30, 42.76, -60.56) |
| CIE-LCH | lch(44.30, 74.13, 305.22°) |
| OKLab | oklab(53.79% 0.0638 -0.173) |
| OKLCH | oklch(53.79% 0.184 290.2) |
| XYZ | xyz(21.0867, 14.0495, 60.6202) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 2.77
Iris
#6258C4
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.62
Purpley
#8756E4
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152CF #B0CF52
analogous
#5272CF #7152CF #B052CF
triadic
#7152CF #CF7152 #52CF71
tetradic
#7152CF #CF5272 #B0CF52 #52CFB0
square
#7152CF #CF5272 #B0CF52 #52CFB0
split-complementary
#7152CF #CFB052 #72CF52
monochromatic
#3C2482 #5131B2 #7152CF #9882DC #C0B2EA
Accessibility & contrast
On white
5.51
#7152CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7152CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152CF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152CF | 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)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#546F89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7152cf; /* rgb */ color: rgb(113, 82, 207); /* oklch */ color: oklch(53.8% 0.184 290.2);
Tailwind
colors: {
custom: {
50: '#a084de',
500: '#7152cf',
950: '#000000',
},
}SCSS
$custom: #7152cf; $custom-light: #a084de; $custom-dark: #000000;
JSON
{
"hex": "#7152cf",
"rgb": {
"r": 113,
"g": 82,
"b": 207
},
"hsl": {
"h": 254.88,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.53793,
"c": 0.18435,
"h": 290.2
},
"luminance": 0.1405
}Semantic roles & 50–950 ramp
primary
#7152CF
secondary
#CBD8A5
accent
#E048BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83