#7150C7#7150C7
#7150C7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.177 H 292.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7150C7 |
|---|---|
| RGB | rgb(113, 80, 199) |
| HSL | hsl(257, 52%, 55%) |
| HSV | hsv(257, 60%, 78%) |
| CMYK | cmyk(43.2%, 59.8%, 0%, 22%) |
| CIE-LAB | lab(43.32, 41.64, -57.54) |
| CIE-LCH | lch(43.32, 71.03, 305.89°) |
| OKLab | oklab(52.9% 0.0664 -0.1641) |
| OKLCH | oklch(52.9% 0.177 292) |
| XYZ | xyz(19.9847, 13.3709, 55.5496) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 3.51
Iris
#6258C4
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150C7 #A6C750
analogous
#506AC7 #7150C7 #AD50C7
triadic
#7150C7 #C77150 #50C771
tetradic
#7150C7 #C7506A #A6C750 #50C7AD
square
#7150C7 #C7506A #A6C750 #50C7AD
split-complementary
#7150C7 #C7AD50 #6AC750
monochromatic
#3C2677 #5435A5 #7150C7 #977ED6 #BCADE5
Accessibility & contrast
On white
5.72
#7150C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7150C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150C7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150C7 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#596B84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7150c7; /* rgb */ color: rgb(113, 80, 199); /* oklch */ color: oklch(52.9% 0.177 292.0);
Tailwind
colors: {
custom: {
50: '#a082d9',
500: '#7150c7',
950: '#000000',
},
}SCSS
$custom: #7150c7; $custom-light: #a082d9; $custom-dark: #000000;
JSON
{
"hex": "#7150c7",
"rgb": {
"r": 113,
"g": 80,
"b": 199
},
"hsl": {
"h": 256.639,
"s": 51.515,
"l": 54.706
},
"oklch": {
"l": 0.52896,
"c": 0.17701,
"h": 292
},
"luminance": 0.13372
}Semantic roles & 50–950 ramp
primary
#7150C7
secondary
#C5D2A0
accent
#DB4DB4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A15
muted
#7F7C83