#7F4CCF#7F4CCF
#7F4CCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.193 H 297.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CCF |
|---|---|
| RGB | rgb(127, 76, 207) |
| HSL | hsl(263, 58%, 55%) |
| HSV | hsv(263, 63%, 81%) |
| CMYK | cmyk(38.6%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(44.50, 48.98, -60.18) |
| CIE-LCH | lch(44.50, 77.59, 309.14°) |
| OKLab | oklab(54.27% 0.0891 -0.1714) |
| OKLCH | oklch(54.27% 0.193 297.5) |
| XYZ | xyz(22.5964, 14.1855, 60.5670) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 5.17
Bluish Purple
#703BE7
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CCF #9CCF4C
analogous
#4C5ACF #7F4CCF #C04CCF
triadic
#7F4CCF #CF7F4C #4CCF7F
tetradic
#7F4CCF #CF4C5A #9CCF4C #4CCFC0
square
#7F4CCF #CF4C5A #9CCF4C #4CCFC0
split-complementary
#7F4CCF #CFC04C #5ACF4C
monochromatic
#46227F #612FAF #7F4CCF #A27CDC #C4ADE9
Accessibility & contrast
On white
5.47
#7F4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7F4CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CCF
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CCF | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#6C6A87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f4ccf; /* rgb */ color: rgb(127, 76, 207); /* oklch */ color: oklch(54.3% 0.193 297.5);
Tailwind
colors: {
custom: {
50: '#aa81de',
500: '#7f4ccf',
950: '#000000',
},
}SCSS
$custom: #7f4ccf; $custom-light: #aa81de; $custom-dark: #000000;
JSON
{
"hex": "#7f4ccf",
"rgb": {
"r": 127,
"g": 76,
"b": 207
},
"hsl": {
"h": 263.359,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.54268,
"c": 0.19318,
"h": 297.5
},
"luminance": 0.14186
}Semantic roles & 50–950 ramp
primary
#7F4CCF
secondary
#C1D7A0
accent
#E147A5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83