#7F55ED#7F55ED
#7F55ED is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.217 H 290.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55ED |
|---|---|
| RGB | rgb(127, 85, 237) |
| HSL | hsl(257, 81%, 63%) |
| HSV | hsv(257, 64%, 93%) |
| CMYK | cmyk(46.4%, 64.1%, 0%, 7.1%) |
| CIE-LAB | lab(48.41, 52.18, -70.88) |
| CIE-LCH | lch(48.41, 88.02, 306.36°) |
| OKLab | oklab(57.78% 0.0767 -0.2029) |
| OKLCH | oklch(57.78% 0.217 290.7) |
| XYZ | xyz(27.2826, 17.1224, 81.9718) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.91
Light Indigo
#6D5ACF
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 6.35
Bluish Purple
#703BE7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55ED #C3ED55
analogous
#5577ED #7F55ED #CB55ED
triadic
#7F55ED #ED7F55 #55ED7F
tetradic
#7F55ED #ED5577 #C3ED55 #55EDCB
square
#7F55ED #ED5577 #C3ED55 #55EDCB
split-complementary
#7F55ED #EDCB55 #77ED55
monochromatic
#4013B4 #551EE7 #7F55ED #A98CF3 #D2C4F9
Accessibility & contrast
On white
4.75
#7F55ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7F55ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55ED
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55ED | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#5C7A9A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f55ed; /* rgb */ color: rgb(127, 85, 237); /* oklch */ color: oklch(57.8% 0.217 290.7);
Tailwind
colors: {
custom: {
50: '#ac87f4',
500: '#7f55ed',
950: '#000000',
},
}SCSS
$custom: #7f55ed; $custom-light: #ac87f4; $custom-dark: #000000;
JSON
{
"hex": "#7f55ed",
"rgb": {
"r": 127,
"g": 85,
"b": 237
},
"hsl": {
"h": 256.579,
"s": 80.851,
"l": 63.137
},
"oklch": {
"l": 0.57776,
"c": 0.21692,
"h": 290.7
},
"luminance": 0.17123
}Semantic roles & 50–950 ramp
primary
#7F55ED
secondary
#DBEAB4
accent
#DD08A2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85