#7E5FCF#7E5FCF
#7E5FCF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.166 H 293.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FCF |
|---|---|
| RGB | rgb(126, 95, 207) |
| HSL | hsl(257, 54%, 59%) |
| HSV | hsv(257, 54%, 81%) |
| CMYK | cmyk(39.1%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(48.42, 38.18, -53.87) |
| CIE-LCH | lch(48.42, 66.03, 305.33°) |
| OKLab | oklab(57.11% 0.0654 -0.1529) |
| OKLCH | oklch(57.11% 0.166 293.2) |
| XYZ | xyz(23.9559, 17.1244, 61.0626) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.57
Purpley
#8756E4
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.75
Mediumslateblue
#7B68EE
ΔE00 5.58
Iris
#6258C4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FCF #B0CF5F
analogous
#5F78CF #7E5FCF #B65FCF
triadic
#7E5FCF #CF7E5F #5FCF7E
tetradic
#7E5FCF #CF5F78 #B0CF5F #5FCFB6
square
#7E5FCF #CF5F78 #B0CF5F #5FCFB6
split-complementary
#7E5FCF #CFB65F #78CF5F
monochromatic
#44298A #5B38B9 #7E5FCF #A48EDD #CABDEB
Accessibility & contrast
On white
4.75
#7E5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7E5FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5FCF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5FCF | 1.00 | 4.75 | 4.43 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#69768E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e5fcf; /* rgb */ color: rgb(126, 95, 207); /* oklch */ color: oklch(57.1% 0.166 293.2);
Tailwind
colors: {
custom: {
50: '#a88dde',
500: '#7e5fcf',
950: '#000000',
},
}SCSS
$custom: #7e5fcf; $custom-light: #a88dde; $custom-dark: #000000;
JSON
{
"hex": "#7e5fcf",
"rgb": {
"r": 126,
"g": 95,
"b": 207
},
"hsl": {
"h": 256.607,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.57114,
"c": 0.1663,
"h": 293.2
},
"luminance": 0.17125
}Semantic roles & 50–950 ramp
primary
#7E5FCF
secondary
#CFDBAF
accent
#DD4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83