#712F9C#712F9C
#712F9C is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 308.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #712F9C |
|---|---|
| RGB | rgb(113, 47, 156) |
| HSL | hsl(276, 54%, 40%) |
| HSV | hsv(276, 70%, 61%) |
| CMYK | cmyk(27.6%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(33.87, 48.02, -47.34) |
| CIE-LCH | lch(33.87, 67.43, 315.41°) |
| OKLab | oklab(45.1% 0.1077 -0.134) |
| OKLCH | oklch(45.1% 0.172 308.8) |
| XYZ | xyz(13.8261, 7.9443, 32.2511) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.25
Purple (survey)
#7E1E9C
ΔE00 3.33
Darkmagenta
#8B008B
ΔE00 7.61
Purple
#800080
ΔE00 8.02
Royal Purple
#7851A9
ΔE00 8.65
Darkish Purple
#751973
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#712F9C #5A9C2F
analogous
#3A2F9C #712F9C #9C2F91
triadic
#712F9C #9C712F #2F9C71
tetradic
#712F9C #9C3A2F #5A9C2F #2F919C
square
#712F9C #9C3A2F #5A9C2F #2F919C
split-complementary
#712F9C #919C2F #2F9C3A
monochromatic
#2D133E #4F216D #712F9C #9242C6 #AD71D4
Accessibility & contrast
On white
8.11
#712F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#712F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #712F9C
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##712F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##712F9C | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#18509A
Tritanopia (blue-blind)
#6B4762
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #712f9c; /* rgb */ color: rgb(113, 47, 156); /* oklch */ color: oklch(45.1% 0.172 308.8);
Tailwind
colors: {
custom: {
50: '#9e6dba',
500: '#712f9c',
950: '#000000',
},
}SCSS
$custom: #712f9c; $custom-light: #9e6dba; $custom-dark: #000000;
JSON
{
"hex": "#712f9c",
"rgb": {
"r": 113,
"g": 47,
"b": 156
},
"hsl": {
"h": 276.33,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.45103,
"c": 0.17196,
"h": 308.8
},
"luminance": 0.07944
}Semantic roles & 50–950 ramp
primary
#712F9C
secondary
#8BBC6B
accent
#DD4B84
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81