#7151C8#7151C8
#7151C8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.177 H 291.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7151C8 |
|---|---|
| RGB | rgb(113, 81, 200) |
| HSL | hsl(256, 52%, 55%) |
| HSV | hsv(256, 60%, 78%) |
| CMYK | cmyk(43.5%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.60, 41.35, -57.66) |
| CIE-LCH | lch(43.60, 70.95, 305.65°) |
| OKLab | oklab(53.13% 0.0652 -0.1644) |
| OKLCH | oklch(53.13% 0.177 291.6) |
| XYZ | xyz(20.1749, 13.5651, 56.1877) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.05
Slate Blue
#6A5ACD
ΔE00 3.22
Iris
#6258C4
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7151C8 #A8C851
analogous
#516DC8 #7151C8 #AC51C8
triadic
#7151C8 #C87151 #51C871
tetradic
#7151C8 #C8516D #A8C851 #51C8AC
square
#7151C8 #C8516D #A8C851 #51C8AC
split-complementary
#7151C8 #C8AC51 #6DC851
monochromatic
#3C2679 #5435A7 #7151C8 #9780D7 #BDAEE5
Accessibility & contrast
On white
5.66
#7151C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7151C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7151C8
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7151C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7151C8 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0065C5
Tritanopia (blue-blind)
#586C85
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7151c8; /* rgb */ color: rgb(113, 81, 200); /* oklch */ color: oklch(53.1% 0.177 291.6);
Tailwind
colors: {
custom: {
50: '#a083d9',
500: '#7151c8',
950: '#000000',
},
}SCSS
$custom: #7151c8; $custom-light: #a083d9; $custom-dark: #000000;
JSON
{
"hex": "#7151c8",
"rgb": {
"r": 113,
"g": 81,
"b": 200
},
"hsl": {
"h": 256.134,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.53126,
"c": 0.17688,
"h": 291.6
},
"luminance": 0.13566
}Semantic roles & 50–950 ramp
primary
#7151C8
secondary
#C6D3A1
accent
#DB4CB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83