#7157E6#7157E6
#7157E6 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.207 H 286.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7157E6 |
|---|---|
| RGB | rgb(113, 87, 230) |
| HSL | hsl(251, 74%, 62%) |
| HSV | hsv(251, 62%, 90%) |
| CMYK | cmyk(50.9%, 62.2%, 0%, 9.8%) |
| CIE-LAB | lab(47.03, 46.53, -69.25) |
| CIE-LCH | lch(47.03, 83.43, 303.90°) |
| OKLab | oklab(56.3% 0.0571 -0.1985) |
| OKLCH | oklch(56.3% 0.207 286) |
| XYZ | xyz(24.4969, 16.0390, 76.6526) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.75
Purpley
#8756E4
ΔE00 3.83
Dark Periwinkle
#665FD1
ΔE00 4.19
Mediumslateblue
#7B68EE
ΔE00 5.41
Iris
#6258C4
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7157E6 #CCE657
analogous
#5785E6 #7157E6 #B857E6
triadic
#7157E6 #E67157 #57E671
tetradic
#7157E6 #E65785 #CCE657 #57E6B8
square
#7157E6 #E65785 #CCE657 #57E6B8
split-complementary
#7157E6 #E6B857 #85E657
monochromatic
#3319A9 #4422DE #7157E6 #9E8CEE #CBC2F6
Accessibility & contrast
On white
4.99
#7157E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7157E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7157E6
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7157E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7157E6 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#447996
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7157e6; /* rgb */ color: rgb(113, 87, 230); /* oklch */ color: oklch(56.3% 0.207 286.0);
Tailwind
colors: {
custom: {
50: '#a388ef',
500: '#7157e6',
950: '#000000',
},
}SCSS
$custom: #7157e6; $custom-light: #a388ef; $custom-dark: #000000;
JSON
{
"hex": "#7157e6",
"rgb": {
"r": 113,
"g": 87,
"b": 230
},
"hsl": {
"h": 250.909,
"s": 74.093,
"l": 62.157
},
"oklch": {
"l": 0.563,
"c": 0.20657,
"h": 286
},
"luminance": 0.1604
}Semantic roles & 50–950 ramp
primary
#7157E6
secondary
#DDE7B2
accent
#D60FB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85