#7F5BBF#7F5BBF
#7F5BBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.152 H 297.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5BBF |
|---|---|
| RGB | rgb(127, 91, 191) |
| HSL | hsl(262, 44%, 55%) |
| HSV | hsv(262, 52%, 75%) |
| CMYK | cmyk(33.5%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.65, 36.45, -47.47) |
| CIE-LCH | lch(46.65, 59.85, 307.52°) |
| OKLab | oklab(55.52% 0.071 -0.1341) |
| OKLCH | oklch(55.52% 0.152 297.9) |
| XYZ | xyz(21.8951, 15.7555, 51.1677) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Royal Purple
#7851A9
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.18
Purpley
#8756E4
ΔE00 5.76
Iris
#6258C4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5BBF #9BBF5B
analogous
#5B69BF #7F5BBF #B15BBF
triadic
#7F5BBF #BF7F5B #5BBF7F
tetradic
#7F5BBF #BF5B69 #9BBF5B #5BBFB1
square
#7F5BBF #BF5B69 #9BBF5B #5BBFB1
split-complementary
#7F5BBF #BFB15B #69BF5B
monochromatic
#462D73 #613E9F #7F5BBF #A187D0 #C4B3E1
Accessibility & contrast
On white
5.06
#7F5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7F5BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5BBF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5BBF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#716F84
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f5bbf; /* rgb */ color: rgb(127, 91, 191); /* oklch */ color: oklch(55.5% 0.152 297.9);
Tailwind
colors: {
custom: {
50: '#a78ad3',
500: '#7f5bbf',
950: '#000000',
},
}SCSS
$custom: #7f5bbf; $custom-light: #a78ad3; $custom-dark: #000000;
JSON
{
"hex": "#7f5bbf",
"rgb": {
"r": 127,
"g": 91,
"b": 191
},
"hsl": {
"h": 261.6,
"s": 43.86,
"l": 55.294
},
"oklch": {
"l": 0.55521,
"c": 0.15172,
"h": 297.9
},
"luminance": 0.15756
}Semantic roles & 50–950 ramp
primary
#7F5BBF
secondary
#C1D0A6
accent
#D454A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83