#7F3DC3#7F3DC3
#7F3DC3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.199 H 302.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DC3 |
|---|---|
| RGB | rgb(127, 61, 195) |
| HSL | hsl(270, 53%, 50%) |
| HSV | hsv(270, 69%, 76%) |
| CMYK | cmyk(34.9%, 68.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.88, 53.55, -59.09) |
| CIE-LCH | lch(40.88, 79.74, 312.19°) |
| OKLab | oklab(51.4% 0.1067 -0.1681) |
| OKLCH | oklch(51.4% 0.199 302.4) |
| XYZ | xyz(20.2691, 11.7896, 52.8270) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.62
Darkviolet
#9400D3
ΔE00 5.89
Burple
#6832E3
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DC3 #81C33D
analogous
#3D3EC3 #7F3DC3 #C23DC3
triadic
#7F3DC3 #C37F3D #3DC37F
tetradic
#7F3DC3 #C33D3E #81C33D #3DC3C2
square
#7F3DC3 #C33D3E #81C33D #3DC3C2
split-complementary
#7F3DC3 #C3C23D #3EC33D
monochromatic
#422066 #612E95 #7F3DC3 #9E6CD1 #BD9AE0
Accessibility & contrast
On white
6.25
#7F3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7F3DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DC3
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DC3 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 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: #7f3dc3; /* rgb */ color: rgb(127, 61, 195); /* oklch */ color: oklch(51.4% 0.199 302.4);
Tailwind
colors: {
custom: {
50: '#a977d6',
500: '#7f3dc3',
950: '#000000',
},
}SCSS
$custom: #7f3dc3; $custom-light: #a977d6; $custom-dark: #000000;
JSON
{
"hex": "#7f3dc3",
"rgb": {
"r": 127,
"g": 61,
"b": 195
},
"hsl": {
"h": 269.552,
"s": 52.756,
"l": 50.196
},
"oklch": {
"l": 0.51396,
"c": 0.19915,
"h": 302.4
},
"luminance": 0.1179
}Semantic roles & 50–950 ramp
primary
#7F3DC3
secondary
#AECC90
accent
#DC4C95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83