#7F4CCD#7F4CCD
#7F4CCD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.191 H 297.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CCD |
|---|---|
| RGB | rgb(127, 76, 205) |
| HSL | hsl(264, 56%, 55%) |
| HSV | hsv(264, 63%, 80%) |
| CMYK | cmyk(38%, 62.9%, 0%, 19.6%) |
| CIE-LAB | lab(44.36, 48.46, -59.25) |
| CIE-LCH | lch(44.36, 76.54, 309.28°) |
| OKLab | oklab(54.12% 0.0893 -0.1687) |
| OKLCH | oklch(54.12% 0.191 297.9) |
| XYZ | xyz(22.3535, 14.0884, 59.2874) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.85
Blueviolet
#8A2BE2
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CCD #9ACD4C
analogous
#4C59CD #7F4CCD #C04CCD
triadic
#7F4CCD #CD7F4C #4CCD7F
tetradic
#7F4CCD #CD4C59 #9ACD4C #4CCDC0
square
#7F4CCD #CD4C59 #9ACD4C #4CCDC0
split-complementary
#7F4CCD #CDC04C #59CD4C
monochromatic
#46237C #6130AC #7F4CCD #A17CDA #C3ACE8
Accessibility & contrast
On white
5.50
#7F4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7F4CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CCD
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CCD | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0367CA
Tritanopia (blue-blind)
#6D6986
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f4ccd; /* rgb */ color: rgb(127, 76, 205); /* oklch */ color: oklch(54.1% 0.191 297.9);
Tailwind
colors: {
custom: {
50: '#a981dd',
500: '#7f4ccd',
950: '#000000',
},
}SCSS
$custom: #7f4ccd; $custom-light: #a981dd; $custom-dark: #000000;
JSON
{
"hex": "#7f4ccd",
"rgb": {
"r": 127,
"g": 76,
"b": 205
},
"hsl": {
"h": 263.721,
"s": 56.332,
"l": 55.098
},
"oklch": {
"l": 0.54124,
"c": 0.19084,
"h": 297.9
},
"luminance": 0.14089
}Semantic roles & 50–950 ramp
primary
#7F4CCD
secondary
#C0D59F
accent
#E048A4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83