#7150E2#7150E2
#7150E2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.210 H 287.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7150E2 |
|---|---|
| RGB | rgb(113, 80, 226) |
| HSL | hsl(254, 72%, 60%) |
| HSV | hsv(254, 65%, 89%) |
| CMYK | cmyk(50%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(45.27, 49.28, -69.84) |
| CIE-LCH | lch(45.27, 85.47, 305.20°) |
| OKLab | oklab(54.93% 0.0643 -0.2003) |
| OKLCH | oklch(54.93% 0.21 287.8) |
| XYZ | xyz(23.4022, 14.7379, 73.5484) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.08
Purpley
#8756E4
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 4.37
Bluish Purple
#703BE7
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150E2 #C1E250
analogous
#5078E2 #7150E2 #BA50E2
triadic
#7150E2 #E27150 #50E271
tetradic
#7150E2 #E25078 #C1E250 #50E2BA
square
#7150E2 #E25078 #C1E250 #50E2BA
split-complementary
#7150E2 #E2BA50 #78E250
monochromatic
#381A9E #4A23D2 #7150E2 #9C84EB #C6B9F3
Accessibility & contrast
On white
5.32
#7150E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7150E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150E2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150E2 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#487492
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7150e2; /* rgb */ color: rgb(113, 80, 226); /* oklch */ color: oklch(54.9% 0.210 287.8);
Tailwind
colors: {
custom: {
50: '#a383ec',
500: '#7150e2',
950: '#000000',
},
}SCSS
$custom: #7150e2; $custom-light: #a383ec; $custom-dark: #000000;
JSON
{
"hex": "#7150e2",
"rgb": {
"r": 113,
"g": 80,
"b": 226
},
"hsl": {
"h": 253.562,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.54934,
"c": 0.21031,
"h": 287.8
},
"luminance": 0.14739
}Semantic roles & 50–950 ramp
primary
#7150E2
secondary
#D6E3AB
accent
#EE39C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84