#7E5FCA#7E5FCA
#7E5FCA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.160 H 294.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FCA |
|---|---|
| RGB | rgb(126, 95, 202) |
| HSL | hsl(257, 50%, 58%) |
| HSV | hsv(257, 53%, 79%) |
| CMYK | cmyk(37.6%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(48.11, 36.82, -51.49) |
| CIE-LCH | lch(48.11, 63.30, 305.57°) |
| OKLab | oklab(56.79% 0.0652 -0.1459) |
| OKLCH | oklch(56.79% 0.16 294.1) |
| XYZ | xyz(23.3543, 16.8838, 57.8941) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 5.41
Iris
#6258C4
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FCA #ABCA5F
analogous
#5F75CA #7E5FCA #B35FCA
triadic
#7E5FCA #CA7E5F #5FCA7E
tetradic
#7E5FCA #CA5F75 #ABCA5F #5FCAB3
square
#7E5FCA #CA5F75 #ABCA5F #5FCAB3
split-complementary
#7E5FCA #CAB35F #75CA5F
monochromatic
#452B83 #5D3BB1 #7E5FCA #A38DD9 #C8BBE8
Accessibility & contrast
On white
4.80
#7E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7E5FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5FCA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5FCA | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#3970C8
Tritanopia (blue-blind)
#6B758B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e5fca; /* rgb */ color: rgb(126, 95, 202); /* oklch */ color: oklch(56.8% 0.160 294.1);
Tailwind
colors: {
custom: {
50: '#a78ddb',
500: '#7e5fca',
950: '#000000',
},
}SCSS
$custom: #7e5fca; $custom-light: #a78ddb; $custom-dark: #000000;
JSON
{
"hex": "#7e5fca",
"rgb": {
"r": 126,
"g": 95,
"b": 202
},
"hsl": {
"h": 257.383,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.56792,
"c": 0.15981,
"h": 294.1
},
"luminance": 0.16884
}Semantic roles & 50–950 ramp
primary
#7E5FCA
secondary
#CBD8AD
accent
#DA4EB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83