#7150E1#7150E1
#7150E1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.209 H 287.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7150E1 |
|---|---|
| RGB | rgb(113, 80, 225) |
| HSL | hsl(254, 71%, 60%) |
| HSV | hsv(254, 64%, 88%) |
| CMYK | cmyk(49.8%, 64.4%, 0%, 11.8%) |
| CIE-LAB | lab(45.20, 48.99, -69.40) |
| CIE-LCH | lch(45.20, 84.95, 305.22°) |
| OKLab | oklab(54.86% 0.0644 -0.199) |
| OKLCH | oklch(54.86% 0.209 287.9) |
| XYZ | xyz(23.2654, 14.6832, 72.8278) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 4.00
Purpley
#8756E4
ΔE00 4.23
Purpleish Blue
#6140EF
ΔE00 4.39
Bluish Purple
#703BE7
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150E1 #C0E150
analogous
#5078E1 #7150E1 #B950E1
triadic
#7150E1 #E17150 #50E171
tetradic
#7150E1 #E15078 #C0E150 #50E1B9
square
#7150E1 #E15078 #C0E150 #50E1B9
split-complementary
#7150E1 #E1B950 #78E150
monochromatic
#381B9C #4B24D0 #7150E1 #9B84EA #C6B8F3
Accessibility & contrast
On white
5.33
#7150E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7150E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150E1
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150E1 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#497391
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7150e1; /* rgb */ color: rgb(113, 80, 225); /* oklch */ color: oklch(54.9% 0.209 287.9);
Tailwind
colors: {
custom: {
50: '#a383eb',
500: '#7150e1',
950: '#000000',
},
}SCSS
$custom: #7150e1; $custom-light: #a383eb; $custom-dark: #000000;
JSON
{
"hex": "#7150e1",
"rgb": {
"r": 113,
"g": 80,
"b": 225
},
"hsl": {
"h": 253.655,
"s": 70.732,
"l": 59.804
},
"oklch": {
"l": 0.54856,
"c": 0.20911,
"h": 287.9
},
"luminance": 0.14684
}Semantic roles & 50–950 ramp
primary
#7150E1
secondary
#D6E2AA
accent
#ED3AC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84