#7F48BF#7F48BF
#7F48BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.180 H 301.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F48BF |
|---|---|
| RGB | rgb(127, 72, 191) |
| HSL | hsl(268, 48%, 52%) |
| HSV | hsv(268, 62%, 75%) |
| CMYK | cmyk(33.5%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(42.62, 47.02, -53.93) |
| CIE-LCH | lch(42.62, 71.55, 311.08°) |
| OKLab | oklab(52.56% 0.0948 -0.153) |
| OKLCH | oklch(52.56% 0.18 301.8) |
| XYZ | xyz(20.4715, 12.9083, 50.6932) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.84
Purply
#983FB2
ΔE00 6.10
Blueviolet
#8A2BE2
ΔE00 6.28
Bluish Purple
#703BE7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F48BF #88BF48
analogous
#484DBF #7F48BF #BB48BF
triadic
#7F48BF #BF7F48 #48BF7F
tetradic
#7F48BF #BF484D #88BF48 #48BFBB
square
#7F48BF #BF484D #88BF48 #48BFBB
split-complementary
#7F48BF #BFBB48 #4DBF48
monochromatic
#442468 #613496 #7F48BF #9F75CF #BEA3DF
Accessibility & contrast
On white
5.86
#7F48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7F48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F48BF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F48BF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#72617D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f48bf; /* rgb */ color: rgb(127, 72, 191); /* oklch */ color: oklch(52.6% 0.180 301.8);
Tailwind
colors: {
custom: {
50: '#a87ed3',
500: '#7f48bf',
950: '#000000',
},
}SCSS
$custom: #7f48bf; $custom-light: #a87ed3; $custom-dark: #000000;
JSON
{
"hex": "#7f48bf",
"rgb": {
"r": 127,
"g": 72,
"b": 191
},
"hsl": {
"h": 267.731,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.52564,
"c": 0.18003,
"h": 301.8
},
"luminance": 0.12908
}Semantic roles & 50–950 ramp
primary
#7F48BF
secondary
#B3CC97
accent
#D85099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83