#7F5DED#7F5DED
#7F5DED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.207 H 289.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5DED |
|---|---|
| RGB | rgb(127, 93, 237) |
| HSL | hsl(254, 80%, 65%) |
| HSV | hsv(254, 61%, 93%) |
| CMYK | cmyk(46.4%, 60.8%, 0%, 7.1%) |
| CIE-LAB | lab(50.04, 47.82, -68.24) |
| CIE-LCH | lch(50.04, 83.33, 305.02°) |
| OKLab | oklab(58.96% 0.0686 -0.1951) |
| OKLCH | oklch(58.96% 0.207 289.4) |
| XYZ | xyz(27.9485, 18.4541, 82.1937) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.76
Mediumslateblue
#7B68EE
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.91
Dark Periwinkle
#665FD1
ΔE00 5.92
Lighter Purple
#A55AF4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5DED #CBED5D
analogous
#5D83ED #7F5DED #C75DED
triadic
#7F5DED #ED7F5D #5DED7F
tetradic
#7F5DED #ED5D83 #CBED5D #5DEDC7
square
#7F5DED #ED5D83 #CBED5D #5DEDC7
split-complementary
#7F5DED #EDC75D #83ED5D
monochromatic
#3C15BB #5326E7 #7F5DED #AB94F3 #D6CBF9
Accessibility & contrast
On white
4.48
#7F5DED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7F5DED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5DED
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5DED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5DED | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#5C7E9C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f5ded; /* rgb */ color: rgb(127, 93, 237); /* oklch */ color: oklch(59.0% 0.207 289.4);
Tailwind
colors: {
custom: {
50: '#ac8cf4',
500: '#7f5ded',
950: '#000000',
},
}SCSS
$custom: #7f5ded; $custom-light: #ac8cf4; $custom-dark: #000000;
JSON
{
"hex": "#7f5ded",
"rgb": {
"r": 127,
"g": 93,
"b": 237
},
"hsl": {
"h": 254.167,
"s": 80,
"l": 64.706
},
"oklch": {
"l": 0.58958,
"c": 0.20681,
"h": 289.4
},
"luminance": 0.18455
}Semantic roles & 50–950 ramp
primary
#7F5DED
secondary
#E0ECBA
accent
#DC09AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85