#7051CA#7051CA
#7051CA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.179 H 290.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7051CA |
|---|---|
| RGB | rgb(112, 81, 202) |
| HSL | hsl(255, 53%, 55%) |
| HSV | hsv(255, 60%, 79%) |
| CMYK | cmyk(44.6%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.64, 41.70, -58.75) |
| CIE-LCH | lch(43.64, 72.05, 305.37°) |
| OKLab | oklab(53.18% 0.0638 -0.1677) |
| OKLCH | oklch(53.18% 0.179 290.8) |
| XYZ | xyz(20.2822, 13.5932, 57.4208) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.04
Iris
#6258C4
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7051CA #ABCA51
analogous
#516ECA #7051CA #AC51CA
triadic
#7051CA #CA7051 #51CA70
tetradic
#7051CA #CA516E #ABCA51 #51CAAC
square
#7051CA #CA516E #ABCA51 #51CAAC
split-complementary
#7051CA #CAAC51 #6ECA51
monochromatic
#3B257B #5234AA #7051CA #9780D8 #BDAFE7
Accessibility & contrast
On white
5.65
#7051CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7051CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7051CA
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7051CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7051CA | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#556C86
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7051ca; /* rgb */ color: rgb(112, 81, 202); /* oklch */ color: oklch(53.2% 0.179 290.8);
Tailwind
colors: {
custom: {
50: '#9f83db',
500: '#7051ca',
950: '#000000',
},
}SCSS
$custom: #7051ca; $custom-light: #9f83db; $custom-dark: #000000;
JSON
{
"hex": "#7051ca",
"rgb": {
"r": 112,
"g": 81,
"b": 202
},
"hsl": {
"h": 255.372,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.53177,
"c": 0.17941,
"h": 290.8
},
"luminance": 0.13594
}Semantic roles & 50–950 ramp
primary
#7051CA
secondary
#C8D5A2
accent
#DD4BB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83