#7150C8#7150C8
#7150C8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.178 H 291.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7150C8 |
|---|---|
| RGB | rgb(113, 80, 200) |
| HSL | hsl(257, 52%, 55%) |
| HSV | hsv(257, 60%, 78%) |
| CMYK | cmyk(43.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(43.39, 41.92, -58.01) |
| CIE-LCH | lch(43.39, 71.57, 305.86°) |
| OKLab | oklab(52.97% 0.0663 -0.1655) |
| OKLCH | oklch(52.97% 0.178 291.8) |
| XYZ | xyz(20.1012, 13.4175, 56.1631) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 3.46
Iris
#6258C4
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150C8 #A7C850
analogous
#506BC8 #7150C8 #AD50C8
triadic
#7150C8 #C87150 #50C871
tetradic
#7150C8 #C8506B #A7C850 #50C8AD
square
#7150C8 #C8506B #A7C850 #50C8AD
split-complementary
#7150C8 #C8AD50 #6BC850
monochromatic
#3C2678 #5434A6 #7150C8 #977FD7 #BDADE5
Accessibility & contrast
On white
5.70
#7150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#7150C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150C8
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150C8 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#586B84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7150c8; /* rgb */ color: rgb(113, 80, 200); /* oklch */ color: oklch(53.0% 0.178 291.8);
Tailwind
colors: {
custom: {
50: '#a082d9',
500: '#7150c8',
950: '#000000',
},
}SCSS
$custom: #7150c8; $custom-light: #a082d9; $custom-dark: #000000;
JSON
{
"hex": "#7150c8",
"rgb": {
"r": 113,
"g": 80,
"b": 200
},
"hsl": {
"h": 256.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.52968,
"c": 0.17826,
"h": 291.8
},
"luminance": 0.13418
}Semantic roles & 50–950 ramp
primary
#7150C8
secondary
#C5D3A1
accent
#DC4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83