#7F48CB#7F48CB
#7F48CB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.194 H 299.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F48CB |
|---|---|
| RGB | rgb(127, 72, 203) |
| HSL | hsl(265, 56%, 54%) |
| HSV | hsv(265, 65%, 80%) |
| CMYK | cmyk(37.4%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(43.45, 50.05, -59.57) |
| CIE-LCH | lch(43.45, 77.81, 310.03°) |
| OKLab | oklab(53.42% 0.0939 -0.1696) |
| OKLCH | oklch(53.42% 0.194 299) |
| XYZ | xyz(21.8466, 13.4583, 57.9351) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.25
Bluey Purple
#6241C7
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.54
Royal Purple
#7851A9
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F48CB #94CB48
analogous
#4853CB #7F48CB #C148CB
triadic
#7F48CB #CB7F48 #48CB7F
tetradic
#7F48CB #CB4853 #94CB48 #48CBC1
square
#7F48CB #CB4853 #94CB48 #48CBC1
split-complementary
#7F48CB #CBC148 #53CB48
monochromatic
#452277 #612FA6 #7F48CB #A078D9 #C2A7E6
Accessibility & contrast
On white
5.69
#7F48CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7F48CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F48CB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F48CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F48CB | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6E6683
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f48cb; /* rgb */ color: rgb(127, 72, 203); /* oklch */ color: oklch(53.4% 0.194 299.0);
Tailwind
colors: {
custom: {
50: '#a97edc',
500: '#7f48cb',
950: '#000000',
},
}SCSS
$custom: #7f48cb; $custom-light: #a97edc; $custom-dark: #000000;
JSON
{
"hex": "#7f48cb",
"rgb": {
"r": 127,
"g": 72,
"b": 203
},
"hsl": {
"h": 265.191,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.53419,
"c": 0.19387,
"h": 299
},
"luminance": 0.13459
}Semantic roles & 50–950 ramp
primary
#7F48CB
secondary
#BCD39B
accent
#DF49A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83