#7F5FBF#7F5FBF
#7F5FBF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.2% C 0.145 H 296.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FBF |
|---|---|
| RGB | rgb(127, 95, 191) |
| HSL | hsl(260, 43%, 56%) |
| HSV | hsv(260, 50%, 75%) |
| CMYK | cmyk(33.5%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.57, 34.13, -46.01) |
| CIE-LCH | lch(47.57, 57.29, 306.57°) |
| OKLab | oklab(56.2% 0.0657 -0.1298) |
| OKLCH | oklch(56.2% 0.145 296.8) |
| XYZ | xyz(22.2462, 16.4577, 51.2847) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.36
Royal Purple
#7851A9
ΔE00 5.50
Purpley
#8756E4
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FBF #9FBF5F
analogous
#5F6FBF #7F5FBF #AF5FBF
triadic
#7F5FBF #BF7F5F #5FBF7F
tetradic
#7F5FBF #BF5F6F #9FBF5F #5FBFAF
square
#7F5FBF #BF5F6F #9FBF5F #5FBFAF
split-complementary
#7F5FBF #BFAF5F #6FBF5F
monochromatic
#462F75 #6040A1 #7F5FBF #A28BD0 #C5B6E2
Accessibility & contrast
On white
4.89
#7F5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7F5FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5FBF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5FBF | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#717286
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f5fbf; /* rgb */ color: rgb(127, 95, 191); /* oklch */ color: oklch(56.2% 0.145 296.8);
Tailwind
colors: {
custom: {
50: '#a78dd3',
500: '#7f5fbf',
950: '#000000',
},
}SCSS
$custom: #7f5fbf; $custom-light: #a78dd3; $custom-dark: #000000;
JSON
{
"hex": "#7f5fbf",
"rgb": {
"r": 127,
"g": 95,
"b": 191
},
"hsl": {
"h": 260,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.56203,
"c": 0.14548,
"h": 296.8
},
"luminance": 0.16458
}Semantic roles & 50–950 ramp
primary
#7F5FBF
secondary
#C4D1A9
accent
#D355A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83