#7F3CC3#7F3CC3
#7F3CC3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.200 H 302.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CC3 |
|---|---|
| RGB | rgb(127, 60, 195) |
| HSL | hsl(270, 53%, 50%) |
| HSV | hsv(270, 69%, 76%) |
| CMYK | cmyk(34.9%, 69.2%, 0%, 23.5%) |
| CIE-LAB | lab(40.71, 54.03, -59.36) |
| CIE-LCH | lch(40.71, 80.27, 312.31°) |
| OKLab | oklab(51.27% 0.1078 -0.1689) |
| OKLCH | oklch(51.27% 0.2 302.5) |
| XYZ | xyz(20.2163, 11.6838, 52.8093) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 5.26
Bluish Purple
#703BE7
ΔE00 5.62
Darkviolet
#9400D3
ΔE00 5.73
Burple
#6832E3
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CC3 #80C33C
analogous
#3C3CC3 #7F3CC3 #C33CC3
triadic
#7F3CC3 #C37F3C #3CC37F
tetradic
#7F3CC3 #C33C3C #80C33C #3CC3C3
square
#7F3CC3 #C33C3C #80C33C #3CC3C3
split-complementary
#7F3CC3 #C3C33C #3CC33C
monochromatic
#421F65 #612E94 #7F3CC3 #9E6BD1 #BC9AE0
Accessibility & contrast
On white
6.29
#7F3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7F3CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CC3
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CC3 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#715C7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3cc3; /* rgb */ color: rgb(127, 60, 195); /* oklch */ color: oklch(51.3% 0.200 302.5);
Tailwind
colors: {
custom: {
50: '#a977d6',
500: '#7f3cc3',
950: '#000000',
},
}SCSS
$custom: #7f3cc3; $custom-light: #a977d6; $custom-dark: #000000;
JSON
{
"hex": "#7f3cc3",
"rgb": {
"r": 127,
"g": 60,
"b": 195
},
"hsl": {
"h": 269.778,
"s": 52.941,
"l": 50
},
"oklch": {
"l": 0.51274,
"c": 0.2004,
"h": 302.5
},
"luminance": 0.11684
}Semantic roles & 50–950 ramp
primary
#7F3CC3
secondary
#AECC8F
accent
#DC4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83