#7151C3#7151C3
#7151C3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.171 H 292.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7151C3 |
|---|---|
| RGB | rgb(113, 81, 195) |
| HSL | hsl(257, 49%, 54%) |
| HSV | hsv(257, 58%, 76%) |
| CMYK | cmyk(42.1%, 58.5%, 0%, 23.5%) |
| CIE-LAB | lab(43.26, 39.95, -55.31) |
| CIE-LCH | lch(43.26, 68.23, 305.84°) |
| OKLab | oklab(52.77% 0.0653 -0.1575) |
| OKLCH | oklch(52.77% 0.171 292.5) |
| XYZ | xyz(19.6001, 13.3351, 53.1604) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 3.56
Iris
#6258C4
ΔE00 3.82
Bluey Purple
#6241C7
ΔE00 4.91
Royal Purple
#7851A9
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7151C3 #A3C351
analogous
#516AC3 #7151C3 #AA51C3
triadic
#7151C3 #C37151 #51C371
tetradic
#7151C3 #C3516A #A3C351 #51C3AA
square
#7151C3 #C3516A #A3C351 #51C3AA
split-complementary
#7151C3 #C3AA51 #6AC351
monochromatic
#3C2772 #5437A0 #7151C3 #967FD3 #BBACE2
Accessibility & contrast
On white
5.73
#7151C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7151C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7151C3
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7151C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7151C3 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#1464C1
Tritanopia (blue-blind)
#5B6A82
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7151c3; /* rgb */ color: rgb(113, 81, 195); /* oklch */ color: oklch(52.8% 0.171 292.5);
Tailwind
colors: {
custom: {
50: '#9f83d6',
500: '#7151c3',
950: '#000000',
},
}SCSS
$custom: #7151c3; $custom-light: #9f83d6; $custom-dark: #000000;
JSON
{
"hex": "#7151c3",
"rgb": {
"r": 113,
"g": 81,
"b": 195
},
"hsl": {
"h": 256.842,
"s": 48.718,
"l": 54.118
},
"oklch": {
"l": 0.5277,
"c": 0.17053,
"h": 292.5
},
"luminance": 0.13336
}Semantic roles & 50–950 ramp
primary
#7151C3
secondary
#C3D0A0
accent
#D850B2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83