#7F3DC4#7F3DC4
#7F3DC4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.200 H 302.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DC4 |
|---|---|
| RGB | rgb(127, 61, 196) |
| HSL | hsl(269, 53%, 50%) |
| HSV | hsv(269, 69%, 77%) |
| CMYK | cmyk(35.2%, 68.9%, 0%, 23.1%) |
| CIE-LAB | lab(40.95, 53.79, -59.55) |
| CIE-LCH | lch(40.95, 80.25, 312.09°) |
| OKLab | oklab(51.47% 0.1066 -0.1695) |
| OKLCH | oklch(51.47% 0.2 302.2) |
| XYZ | xyz(20.3826, 11.8350, 53.4244) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.44
Darkorchid
#9932CC
ΔE00 4.55
Bluey Purple
#6241C7
ΔE00 5.19
Bluish Purple
#703BE7
ΔE00 5.48
Darkviolet
#9400D3
ΔE00 5.87
Burple
#6832E3
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DC4 #82C43D
analogous
#3D3EC4 #7F3DC4 #C23DC4
triadic
#7F3DC4 #C47F3D #3DC47F
tetradic
#7F3DC4 #C43D3E #82C43D #3DC4C2
square
#7F3DC4 #C43D3E #82C43D #3DC4C2
split-complementary
#7F3DC4 #C4C23D #3EC43D
monochromatic
#431F67 #612E96 #7F3DC4 #9E6CD2 #BD9BE1
Accessibility & contrast
On white
6.24
#7F3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7F3DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DC4
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DC4 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#715D7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7f3dc4; /* rgb */ color: rgb(127, 61, 196); /* oklch */ color: oklch(51.5% 0.200 302.2);
Tailwind
colors: {
custom: {
50: '#a977d7',
500: '#7f3dc4',
950: '#000000',
},
}SCSS
$custom: #7f3dc4; $custom-light: #a977d7; $custom-dark: #000000;
JSON
{
"hex": "#7f3dc4",
"rgb": {
"r": 127,
"g": 61,
"b": 196
},
"hsl": {
"h": 269.333,
"s": 53.36,
"l": 50.392
},
"oklch": {
"l": 0.51471,
"c": 0.20024,
"h": 302.2
},
"luminance": 0.11835
}Semantic roles & 50–950 ramp
primary
#7F3DC4
secondary
#AFCD90
accent
#DD4B96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83