#7F55DE#7F55DE
#7F55DE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.199 H 293.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55DE |
|---|---|
| RGB | rgb(127, 85, 222) |
| HSL | hsl(258, 67%, 60%) |
| HSV | hsv(258, 62%, 87%) |
| CMYK | cmyk(42.8%, 61.7%, 0%, 12.9%) |
| CIE-LAB | lab(47.34, 48.11, -64.15) |
| CIE-LCH | lch(47.34, 80.18, 306.87°) |
| OKLab | oklab(56.66% 0.0781 -0.1831) |
| OKLCH | oklch(56.66% 0.199 293.1) |
| XYZ | xyz(25.1821, 16.2822, 70.9091) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.68
Light Indigo
#6D5ACF
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 5.72
Mediumslateblue
#7B68EE
ΔE00 6.16
Iris
#6258C4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55DE #B4DE55
analogous
#556FDE #7F55DE #C355DE
triadic
#7F55DE #DE7F55 #55DE7F
tetradic
#7F55DE #DE556F #B4DE55 #55DEC3
square
#7F55DE #DE556F #B4DE55 #55DEC3
split-complementary
#7F55DE #DEC355 #6FDE55
monochromatic
#441E9B #5B28CE #7F55DE #A688E8 #CCBCF2
Accessibility & contrast
On white
4.93
#7F55DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7F55DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55DE
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55DE | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#657492
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7f55de; /* rgb */ color: rgb(127, 85, 222); /* oklch */ color: oklch(56.7% 0.199 293.1);
Tailwind
colors: {
custom: {
50: '#aa87e9',
500: '#7f55de',
950: '#000000',
},
}SCSS
$custom: #7f55de; $custom-light: #aa87e9; $custom-dark: #000000;
JSON
{
"hex": "#7f55de",
"rgb": {
"r": 127,
"g": 85,
"b": 222
},
"hsl": {
"h": 258.394,
"s": 67.488,
"l": 60.196
},
"oklch": {
"l": 0.56662,
"c": 0.19903,
"h": 293.1
},
"luminance": 0.16283
}Semantic roles & 50–950 ramp
primary
#7F55DE
secondary
#D2E2AD
accent
#CF1697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84