#7F48CA#7F48CA
#7F48CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.193 H 299.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F48CA |
|---|---|
| RGB | rgb(127, 72, 202) |
| HSL | hsl(265, 55%, 54%) |
| HSV | hsv(265, 64%, 79%) |
| CMYK | cmyk(37.1%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.38, 49.79, -59.11) |
| CIE-LCH | lch(43.38, 77.29, 310.11°) |
| OKLab | oklab(53.35% 0.094 -0.1682) |
| OKLCH | oklch(53.35% 0.193 299.2) |
| XYZ | xyz(21.7278, 13.4108, 57.3095) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 5.27
Blueviolet
#8A2BE2
ΔE00 5.32
Bluey Purple
#6241C7
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.51
Purpley
#8756E4
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F48CA #93CA48
analogous
#4852CA #7F48CA #C048CA
triadic
#7F48CA #CA7F48 #48CA7F
tetradic
#7F48CA #CA4852 #93CA48 #48CAC0
square
#7F48CA #CA4852 #93CA48 #48CAC0
split-complementary
#7F48CA #CAC048 #52CA48
monochromatic
#452276 #6130A5 #7F48CA #A077D8 #C1A7E5
Accessibility & contrast
On white
5.70
#7F48CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#7F48CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F48CA
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F48CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F48CA | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#6E6583
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7f48ca; /* rgb */ color: rgb(127, 72, 202); /* oklch */ color: oklch(53.3% 0.193 299.2);
Tailwind
colors: {
custom: {
50: '#a97edb',
500: '#7f48ca',
950: '#000000',
},
}SCSS
$custom: #7f48ca; $custom-light: #a97edb; $custom-dark: #000000;
JSON
{
"hex": "#7f48ca",
"rgb": {
"r": 127,
"g": 72,
"b": 202
},
"hsl": {
"h": 265.385,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.53346,
"c": 0.19273,
"h": 299.2
},
"luminance": 0.13411
}Semantic roles & 50–950 ramp
primary
#7F48CA
secondary
#BBD39B
accent
#DE499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83