#7058AF#7058AF
#7058AF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.5% C 0.134 H 294.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7058AF |
|---|---|
| RGB | rgb(112, 88, 175) |
| HSL | hsl(257, 35%, 52%) |
| HSV | hsv(257, 50%, 69%) |
| CMYK | cmyk(36%, 49.7%, 0%, 31.4%) |
| CIE-LAB | lab(43.54, 30.02, -43.19) |
| CIE-LCH | lch(43.54, 52.60, 304.81°) |
| OKLab | oklab(52.55% 0.0544 -0.122) |
| OKLCH | oklch(52.55% 0.134 294) |
| XYZ | xyz(17.9077, 13.5190, 42.2151) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.32
Iris
#6258C4
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.40
Light Indigo
#6D5ACF
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 6.52
Dark Periwinkle
#665FD1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7058AF #97AF58
analogous
#586CAF #7058AF #9C58AF
triadic
#7058AF #AF7058 #58AF70
tetradic
#7058AF #AF586C #97AF58 #58AF9C
square
#7058AF #AF586C #97AF58 #58AF9C
split-complementary
#7058AF #AF9C58 #6CAF58
monochromatic
#3B2E5F #554188 #7058AF #9381C3 #B7ABD7
Accessibility & contrast
On white
5.67
#7058AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7058AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7058AF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7058AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7058AF | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#61697B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7058af; /* rgb */ color: rgb(112, 88, 175); /* oklch */ color: oklch(52.5% 0.134 294.0);
Tailwind
colors: {
custom: {
50: '#9c87c7',
500: '#7058af',
950: '#000000',
},
}SCSS
$custom: #7058af; $custom-light: #9c87c7; $custom-dark: #000000;
JSON
{
"hex": "#7058af",
"rgb": {
"r": 112,
"g": 88,
"b": 175
},
"hsl": {
"h": 256.552,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.52548,
"c": 0.13356,
"h": 294
},
"luminance": 0.13519
}Semantic roles & 50–950 ramp
primary
#7058AF
secondary
#BAC59E
accent
#CB5DAD
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82