#7F3DC2#7F3DC2
#7F3DC2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.198 H 302.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DC2 |
|---|---|
| RGB | rgb(127, 61, 194) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 69%, 76%) |
| CMYK | cmyk(34.5%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.81, 53.31, -58.62) |
| CIE-LCH | lch(40.81, 79.24, 312.28°) |
| OKLab | oklab(51.32% 0.1069 -0.1668) |
| OKLCH | oklch(51.32% 0.198 302.7) |
| XYZ | xyz(20.1565, 11.7445, 52.2335) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 5.30
Bluish Purple
#703BE7
ΔE00 5.76
Darkviolet
#9400D3
ΔE00 5.92
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DC2 #80C23D
analogous
#3D3EC2 #7F3DC2 #C13DC2
triadic
#7F3DC2 #C27F3D #3DC27F
tetradic
#7F3DC2 #C23D3E #80C23D #3DC2C1
square
#7F3DC2 #C23D3E #80C23D #3DC2C1
split-complementary
#7F3DC2 #C2C13D #3EC23D
monochromatic
#422065 #612E93 #7F3DC2 #9E6CD1 #BC9ADF
Accessibility & contrast
On white
6.27
#7F3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7F3DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DC2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DC2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#715C7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3dc2; /* rgb */ color: rgb(127, 61, 194); /* oklch */ color: oklch(51.3% 0.198 302.7);
Tailwind
colors: {
custom: {
50: '#a977d5',
500: '#7f3dc2',
950: '#000000',
},
}SCSS
$custom: #7f3dc2; $custom-light: #a977d5; $custom-dark: #000000;
JSON
{
"hex": "#7f3dc2",
"rgb": {
"r": 127,
"g": 61,
"b": 194
},
"hsl": {
"h": 269.774,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.51321,
"c": 0.19807,
"h": 302.7
},
"luminance": 0.11745
}Semantic roles & 50–950 ramp
primary
#7F3DC2
secondary
#AECB90
accent
#DC4C94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83