#7F5DE3#7F5DE3
#7F5DE3 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.194 H 290.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5DE3 |
|---|---|
| RGB | rgb(127, 93, 227) |
| HSL | hsl(255, 71%, 63%) |
| HSV | hsv(255, 59%, 89%) |
| CMYK | cmyk(44.1%, 59%, 0%, 11%) |
| CIE-LAB | lab(49.36, 45.04, -63.72) |
| CIE-LCH | lch(49.36, 78.03, 305.26°) |
| OKLab | oklab(58.24% 0.069 -0.1818) |
| OKLCH | oklch(58.24% 0.194 290.8) |
| XYZ | xyz(26.5280, 17.8859, 74.7127) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.27
Mediumslateblue
#7B68EE
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.23
Mediumpurple
#9370DB
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5DE3 #C1E35D
analogous
#5D7EE3 #7F5DE3 #C25DE3
triadic
#7F5DE3 #E37F5D #5DE37F
tetradic
#7F5DE3 #E35D7E #C1E35D #5DE3C2
square
#7F5DE3 #E35D7E #C1E35D #5DE3C2
split-complementary
#7F5DE3 #E3C25D #7EE35D
monochromatic
#401DA8 #5629DA #7F5DE3 #A891EC #D1C5F5
Accessibility & contrast
On white
4.59
#7F5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7F5DE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5DE3
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5DE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5DE3 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#617B97
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f5de3; /* rgb */ color: rgb(127, 93, 227); /* oklch */ color: oklch(58.2% 0.194 290.8);
Tailwind
colors: {
custom: {
50: '#ab8ced',
500: '#7f5de3',
950: '#000000',
},
}SCSS
$custom: #7f5de3; $custom-light: #ab8ced; $custom-dark: #000000;
JSON
{
"hex": "#7f5de3",
"rgb": {
"r": 127,
"g": 93,
"b": 227
},
"hsl": {
"h": 255.224,
"s": 70.526,
"l": 62.745
},
"oklch": {
"l": 0.58241,
"c": 0.19449,
"h": 290.8
},
"luminance": 0.17887
}Semantic roles & 50–950 ramp
primary
#7F5DE3
secondary
#DAE6B6
accent
#D313A2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84