#7131C2#7131C2
#7131C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.210 H 298.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7131C2 |
|---|---|
| RGB | rgb(113, 49, 194) |
| HSL | hsl(266, 60%, 48%) |
| HSV | hsv(266, 75%, 76%) |
| CMYK | cmyk(41.8%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(37.12, 56.26, -64.70) |
| CIE-LCH | lch(37.12, 85.74, 311.01°) |
| OKLab | oklab(48.33% 0.0987 -0.185) |
| OKLCH | oklch(48.33% 0.21 298.1) |
| XYZ | xyz(17.6435, 9.6021, 51.9523) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.27
Purple Blue
#5D21D0
ΔE00 4.39
Burple
#6832E3
ΔE00 4.62
Blurple
#5539CC
ΔE00 4.87
Blue With A Hint Of Purple
#533CC6
ΔE00 5.30
Purpley Blue
#5F34E7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7131C2 #82C231
analogous
#3139C2 #7131C2 #BA31C2
triadic
#7131C2 #C27131 #31C271
tetradic
#7131C2 #C23139 #82C231 #31C2BA
square
#7131C2 #C23139 #82C231 #31C2BA
split-complementary
#7131C2 #C2BA31 #39C231
monochromatic
#381860 #552591 #7131C2 #915BD6 #B28CE2
Accessibility & contrast
On white
7.19
#7131C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#7131C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7131C2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7131C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7131C2 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#5D5777
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7131c2; /* rgb */ color: rgb(113, 49, 194); /* oklch */ color: oklch(48.3% 0.210 298.1);
Tailwind
colors: {
custom: {
50: '#a170d5',
500: '#7131c2',
950: '#000000',
},
}SCSS
$custom: #7131c2; $custom-light: #a170d5; $custom-dark: #000000;
JSON
{
"hex": "#7131c2",
"rgb": {
"r": 113,
"g": 49,
"b": 194
},
"hsl": {
"h": 266.483,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.48326,
"c": 0.20975,
"h": 298.1
},
"luminance": 0.09602
}Semantic roles & 50–950 ramp
primary
#7131C2
secondary
#ACCC83
accent
#E3459D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83