#712AAF#712AAF
#712AAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.198 H 303.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #712AAF |
|---|---|
| RGB | rgb(113, 42, 175) |
| HSL | hsl(272, 61%, 43%) |
| HSV | hsv(272, 76%, 69%) |
| CMYK | cmyk(35.4%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(34.52, 54.66, -57.71) |
| CIE-LCH | lch(34.52, 79.49, 313.45°) |
| OKLab | oklab(46.02% 0.1094 -0.1645) |
| OKLCH | oklch(46.02% 0.198 303.6) |
| XYZ | xyz(15.3741, 8.2618, 41.3339) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.95
Purple (survey)
#7E1E9C
ΔE00 4.67
Purple Blue
#5D21D0
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 6.79
Darkviolet
#9400D3
ΔE00 6.83
Blurple
#5539CC
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#712AAF #68AF2A
analogous
#2F2AAF #712AAF #AF2AAA
triadic
#712AAF #AF712A #2AAF71
tetradic
#712AAF #AF2F2A #68AF2A #2AAAAF
square
#712AAF #AF2F2A #68AF2A #2AAAAF
split-complementary
#712AAF #AAAF2A #2AAF2F
monochromatic
#31124C #511E7E #712AAF #9044D2 #AD75DE
Accessibility & contrast
On white
7.92
#712AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#712AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #712AAF
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##712AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##712AAF | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#654C6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #712aaf; /* rgb */ color: rgb(113, 42, 175); /* oklch */ color: oklch(46.0% 0.198 303.6);
Tailwind
colors: {
custom: {
50: '#a06bc8',
500: '#712aaf',
950: '#000000',
},
}SCSS
$custom: #712aaf; $custom-light: #a06bc8; $custom-dark: #000000;
JSON
{
"hex": "#712aaf",
"rgb": {
"r": 113,
"g": 42,
"b": 175
},
"hsl": {
"h": 272.03,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.46019,
"c": 0.19753,
"h": 303.6
},
"luminance": 0.08262
}Semantic roles & 50–950 ramp
primary
#712AAF
secondary
#97C66F
accent
#E4438E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82