#7052CF#7052CF
#7052CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.184 H 289.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7052CF |
|---|---|
| RGB | rgb(112, 82, 207) |
| HSL | hsl(254, 57%, 57%) |
| HSV | hsv(254, 60%, 81%) |
| CMYK | cmyk(45.9%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.21, 42.55, -60.72) |
| CIE-LCH | lch(44.21, 74.14, 305.02°) |
| OKLab | oklab(53.7% 0.0624 -0.1735) |
| OKLCH | oklch(53.7% 0.184 289.8) |
| XYZ | xyz(20.9587, 13.9835, 60.6142) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 2.68
Iris
#6258C4
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 5.12
Purpley
#8756E4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7052CF #B1CF52
analogous
#5273CF #7052CF #AF52CF
triadic
#7052CF #CF7052 #52CF70
tetradic
#7052CF #CF5273 #B1CF52 #52CFAF
square
#7052CF #CF5273 #B1CF52 #52CFAF
split-complementary
#7052CF #CFAF52 #73CF52
monochromatic
#3B2482 #5031B2 #7052CF #9882DC #BFB2EA
Accessibility & contrast
On white
5.53
#7052CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7052CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7052CF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7052CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7052CF | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#526F89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7052cf; /* rgb */ color: rgb(112, 82, 207); /* oklch */ color: oklch(53.7% 0.184 289.8);
Tailwind
colors: {
custom: {
50: '#a084de',
500: '#7052cf',
950: '#000000',
},
}SCSS
$custom: #7052cf; $custom-light: #a084de; $custom-dark: #000000;
JSON
{
"hex": "#7052cf",
"rgb": {
"r": 112,
"g": 82,
"b": 207
},
"hsl": {
"h": 254.4,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.53702,
"c": 0.18437,
"h": 289.8
},
"luminance": 0.13984
}Semantic roles & 50–950 ramp
primary
#7052CF
secondary
#CCD8A5
accent
#E048BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83