#7F49BB#7F49BB
#7F49BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.174 H 302.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7F49BB |
|---|---|
| RGB | rgb(127, 73, 187) |
| HSL | hsl(268, 46%, 51%) |
| HSV | hsv(268, 61%, 73%) |
| CMYK | cmyk(32.1%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(42.56, 45.49, -51.70) |
| CIE-LCH | lch(42.56, 68.87, 311.34°) |
| OKLab | oklab(52.43% 0.0938 -0.1465) |
| OKLCH | oklch(52.43% 0.174 302.6) |
| XYZ | xyz(20.1025, 12.8650, 48.4282) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.91
Darkorchid
#9932CC
ΔE00 5.77
Purply
#983FB2
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.22
Deep Lavender
#8D5EB7
ΔE00 6.85
Blueviolet
#8A2BE2
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F49BB #85BB49
analogous
#494CBB #7F49BB #B849BB
triadic
#7F49BB #BB7F49 #49BB7F
tetradic
#7F49BB #BB494C #85BB49 #49BBB8
square
#7F49BB #BB494C #85BB49 #49BBB8
split-complementary
#7F49BB #BBB849 #4CBB49
monochromatic
#432564 #613691 #7F49BB #9E76CC #BEA2DC
Accessibility & contrast
On white
5.88
#7F49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#7F49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F49BB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F49BB | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0263BF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#73617B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f49bb; /* rgb */ color: rgb(127, 73, 187); /* oklch */ color: oklch(52.4% 0.174 302.6);
Tailwind
colors: {
custom: {
50: '#a87ed0',
500: '#7f49bb',
950: '#000000',
},
}SCSS
$custom: #7f49bb; $custom-light: #a87ed0; $custom-dark: #000000;
JSON
{
"hex": "#7f49bb",
"rgb": {
"r": 127,
"g": 73,
"b": 187
},
"hsl": {
"h": 268.421,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.52432,
"c": 0.17394,
"h": 302.6
},
"luminance": 0.12865
}Semantic roles & 50–950 ramp
primary
#7F49BB
secondary
#B1C997
accent
#D55397
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82