#7F49CA#7F49CA
#7F49CA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.191 H 299.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F49CA |
|---|---|
| RGB | rgb(127, 73, 202) |
| HSL | hsl(265, 55%, 54%) |
| HSV | hsv(265, 64%, 79%) |
| CMYK | cmyk(37.1%, 63.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.57, 49.27, -58.80) |
| CIE-LCH | lch(43.57, 76.71, 309.96°) |
| OKLab | oklab(53.49% 0.0929 -0.1673) |
| OKLCH | oklch(53.49% 0.191 299) |
| XYZ | xyz(21.7930, 13.5411, 57.3312) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 5.38
Purpley
#8756E4
ΔE00 5.48
Blueviolet
#8A2BE2
ΔE00 5.50
Bluey Purple
#6241C7
ΔE00 5.51
Darkorchid
#9932CC
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F49CA #94CA49
analogous
#4954CA #7F49CA #C049CA
triadic
#7F49CA #CA7F49 #49CA7F
tetradic
#7F49CA #CA4954 #94CA49 #49CAC0
square
#7F49CA #CA4954 #94CA49 #49CAC0
split-complementary
#7F49CA #CAC049 #54CA49
monochromatic
#452276 #6130A6 #7F49CA #A078D8 #C2A8E6
Accessibility & contrast
On white
5.66
#7F49CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7F49CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F49CA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F49CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F49CA | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0266C7
Tritanopia (blue-blind)
#6E6683
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f49ca; /* rgb */ color: rgb(127, 73, 202); /* oklch */ color: oklch(53.5% 0.191 299.0);
Tailwind
colors: {
custom: {
50: '#a97fdb',
500: '#7f49ca',
950: '#000000',
},
}SCSS
$custom: #7f49ca; $custom-light: #a97fdb; $custom-dark: #000000;
JSON
{
"hex": "#7f49ca",
"rgb": {
"r": 127,
"g": 73,
"b": 202
},
"hsl": {
"h": 265.116,
"s": 54.894,
"l": 53.922
},
"oklch": {
"l": 0.53485,
"c": 0.19139,
"h": 299
},
"luminance": 0.13541
}Semantic roles & 50–950 ramp
primary
#7F49CA
secondary
#BCD39C
accent
#DE4AA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83