#7F4BBF#7F4BBF
#7F4BBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.176 H 301.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4BBF |
|---|---|
| RGB | rgb(127, 75, 191) |
| HSL | hsl(267, 48%, 52%) |
| HSV | hsv(267, 61%, 75%) |
| CMYK | cmyk(33.5%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(43.22, 45.42, -52.97) |
| CIE-LCH | lch(43.22, 69.78, 310.61°) |
| OKLab | oklab(53% 0.0912 -0.1502) |
| OKLCH | oklch(53% 0.176 301.3) |
| XYZ | xyz(20.6702, 13.3057, 50.7594) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.18
Darkorchid
#9932CC
ΔE00 5.95
Bluey Purple
#6241C7
ΔE00 6.13
Purply
#983FB2
ΔE00 6.31
Light Indigo
#6D5ACF
ΔE00 6.39
Purpley
#8756E4
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4BBF #8BBF4B
analogous
#4B51BF #7F4BBF #B94BBF
triadic
#7F4BBF #BF7F4B #4BBF7F
tetradic
#7F4BBF #BF4B51 #8BBF4B #4BBFB9
square
#7F4BBF #BF4B51 #8BBF4B #4BBFB9
split-complementary
#7F4BBF #BFB94B #51BF4B
monochromatic
#44266A #613697 #7F4BBF #9F78CF #BFA5DF
Accessibility & contrast
On white
5.74
#7F4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#7F4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4BBF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4BBF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#72637E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7f4bbf; /* rgb */ color: rgb(127, 75, 191); /* oklch */ color: oklch(53.0% 0.176 301.3);
Tailwind
colors: {
custom: {
50: '#a880d3',
500: '#7f4bbf',
950: '#000000',
},
}SCSS
$custom: #7f4bbf; $custom-light: #a880d3; $custom-dark: #000000;
JSON
{
"hex": "#7f4bbf",
"rgb": {
"r": 127,
"g": 75,
"b": 191
},
"hsl": {
"h": 266.897,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.52997,
"c": 0.17575,
"h": 301.3
},
"luminance": 0.13306
}Semantic roles & 50–950 ramp
primary
#7F4BBF
secondary
#B6CC9A
accent
#D7519B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83