#7F47CB#7F47CB
#7F47CB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.195 H 299.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F47CB |
|---|---|
| RGB | rgb(127, 71, 203) |
| HSL | hsl(265, 56%, 54%) |
| HSV | hsv(265, 65%, 80%) |
| CMYK | cmyk(37.4%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(43.26, 50.56, -59.88) |
| CIE-LCH | lch(43.26, 78.37, 310.18°) |
| OKLab | oklab(53.28% 0.095 -0.1705) |
| OKLCH | oklch(53.28% 0.195 299.1) |
| XYZ | xyz(21.7824, 13.3301, 57.9137) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 5.05
Blueviolet
#8A2BE2
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.32
Darkorchid
#9932CC
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.71
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F47CB #93CB47
analogous
#4751CB #7F47CB #C147CB
triadic
#7F47CB #CB7F47 #47CB7F
tetradic
#7F47CB #CB4751 #93CB47 #47CBC1
square
#7F47CB #CB4751 #93CB47 #47CBC1
split-complementary
#7F47CB #CBC147 #51CB47
monochromatic
#452176 #612FA6 #7F47CB #A077D8 #C1A6E6
Accessibility & contrast
On white
5.73
#7F47CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7F47CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F47CB
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F47CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F47CB | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6E6583
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7f47cb; /* rgb */ color: rgb(127, 71, 203); /* oklch */ color: oklch(53.3% 0.195 299.1);
Tailwind
colors: {
custom: {
50: '#a97edc',
500: '#7f47cb',
950: '#000000',
},
}SCSS
$custom: #7f47cb; $custom-light: #a97edc; $custom-dark: #000000;
JSON
{
"hex": "#7f47cb",
"rgb": {
"r": 127,
"g": 71,
"b": 203
},
"hsl": {
"h": 265.455,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.53282,
"c": 0.1952,
"h": 299.1
},
"luminance": 0.1333
}Semantic roles & 50–950 ramp
primary
#7F47CB
secondary
#BBD39B
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83