#7150C2#7150C2
#7150C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.171 H 292.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7150C2 |
|---|---|
| RGB | rgb(113, 80, 194) |
| HSL | hsl(257, 48%, 54%) |
| HSV | hsv(257, 59%, 76%) |
| CMYK | cmyk(41.8%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.98, 40.25, -55.19) |
| CIE-LCH | lch(42.98, 68.31, 306.10°) |
| OKLab | oklab(52.54% 0.0665 -0.1572) |
| OKLCH | oklch(52.54% 0.171 292.9) |
| XYZ | xyz(19.4137, 13.1425, 52.5424) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 3.86
Iris
#6258C4
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.71
Royal Purple
#7851A9
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150C2 #A1C250
analogous
#5068C2 #7150C2 #AA50C2
triadic
#7150C2 #C27150 #50C271
tetradic
#7150C2 #C25068 #A1C250 #50C2AA
square
#7150C2 #C25068 #A1C250 #50C2AA
split-complementary
#7150C2 #C2AA50 #68C250
monochromatic
#3C2770 #55379E #7150C2 #967DD2 #BBABE2
Accessibility & contrast
On white
5.79
#7150C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7150C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150C2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150C2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#1363C0
Tritanopia (blue-blind)
#5B6981
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7150c2; /* rgb */ color: rgb(113, 80, 194); /* oklch */ color: oklch(52.5% 0.171 292.9);
Tailwind
colors: {
custom: {
50: '#9f82d5',
500: '#7150c2',
950: '#000000',
},
}SCSS
$custom: #7150c2; $custom-light: #9f82d5; $custom-dark: #000000;
JSON
{
"hex": "#7150c2",
"rgb": {
"r": 113,
"g": 80,
"b": 194
},
"hsl": {
"h": 257.368,
"s": 48.305,
"l": 53.725
},
"oklch": {
"l": 0.52539,
"c": 0.17067,
"h": 292.9
},
"luminance": 0.13143
}Semantic roles & 50–950 ramp
primary
#7150C2
secondary
#C1CF9F
accent
#D850B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83