#7E5FE6#7E5FE6
#7E5FE6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.196 H 289.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FE6 |
|---|---|
| RGB | rgb(126, 95, 230) |
| HSL | hsl(254, 73%, 64%) |
| HSV | hsv(254, 59%, 90%) |
| CMYK | cmyk(45.2%, 58.7%, 0%, 9.8%) |
| CIE-LAB | lab(49.90, 44.55, -64.54) |
| CIE-LCH | lch(49.90, 78.42, 304.61°) |
| OKLab | oklab(58.68% 0.0655 -0.1843) |
| OKLCH | oklch(58.68% 0.196 289.6) |
| XYZ | xyz(26.9753, 18.3322, 76.9647) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.90
Mediumslateblue
#7B68EE
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 4.71
Dark Periwinkle
#665FD1
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.25
Mediumpurple
#9370DB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FE6 #C7E65F
analogous
#5F83E6 #7E5FE6 #C15FE6
triadic
#7E5FE6 #E67E5F #5FE67E
tetradic
#7E5FE6 #E65F83 #C7E65F #5FE6C1
square
#7E5FE6 #E65F83 #C7E65F #5FE6C1
split-complementary
#7E5FE6 #E6C15F #83E65F
monochromatic
#3D1BAF #532ADE #7E5FE6 #A994EE #D3C9F7
Accessibility & contrast
On white
4.50
#7E5FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7E5FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FE6
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FE6 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#5E7E99
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e5fe6; /* rgb */ color: rgb(126, 95, 230); /* oklch */ color: oklch(58.7% 0.196 289.6);
Tailwind
colors: {
custom: {
50: '#aa8def',
500: '#7e5fe6',
950: '#000000',
},
}SCSS
$custom: #7e5fe6; $custom-light: #aa8def; $custom-dark: #000000;
JSON
{
"hex": "#7e5fe6",
"rgb": {
"r": 126,
"g": 95,
"b": 230
},
"hsl": {
"h": 253.778,
"s": 72.973,
"l": 63.725
},
"oklch": {
"l": 0.58678,
"c": 0.19555,
"h": 289.6
},
"luminance": 0.18333
}Semantic roles & 50–950 ramp
primary
#7E5FE6
secondary
#DDE8B9
accent
#D510A8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84