#7F3CD3#7F3CD3
#7F3CD3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.217 H 298.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CD3 |
|---|---|
| RGB | rgb(127, 60, 211) |
| HSL | hsl(267, 63%, 53%) |
| HSV | hsv(267, 72%, 83%) |
| CMYK | cmyk(39.8%, 71.6%, 0%, 17.3%) |
| CIE-LAB | lab(41.92, 57.92, -66.67) |
| CIE-LCH | lch(41.92, 88.32, 310.98°) |
| OKLab | oklab(52.51% 0.105 -0.1904) |
| OKLCH | oklch(52.51% 0.217 298.9) |
| XYZ | xyz(22.1231, 12.4466, 62.8523) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.96
Bluish Purple
#703BE7
ΔE00 3.58
Burple
#6832E3
ΔE00 4.54
Darkorchid
#9932CC
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 5.01
Violet (survey)
#9A0EEA
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CD3 #90D33C
analogous
#3C44D3 #7F3CD3 #CB3CD3
triadic
#7F3CD3 #D37F3C #3CD37F
tetradic
#7F3CD3 #D33C44 #90D33C #3CD3CB
square
#7F3CD3 #D33C44 #90D33C #3CD3CB
split-complementary
#7F3CD3 #D3CB3C #44D33C
monochromatic
#451B79 #6127AB #7F3CD3 #A06EDE #C1A0EA
Accessibility & contrast
On white
6.02
#7F3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7F3CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CD3
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CD3 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#6B6284
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f3cd3; /* rgb */ color: rgb(127, 60, 211); /* oklch */ color: oklch(52.5% 0.217 298.9);
Tailwind
colors: {
custom: {
50: '#ab77e2',
500: '#7f3cd3',
950: '#000000',
},
}SCSS
$custom: #7f3cd3; $custom-light: #ab77e2; $custom-dark: #000000;
JSON
{
"hex": "#7f3cd3",
"rgb": {
"r": 127,
"g": 60,
"b": 211
},
"hsl": {
"h": 266.623,
"s": 63.18,
"l": 53.137
},
"oklch": {
"l": 0.52512,
"c": 0.21746,
"h": 298.9
},
"luminance": 0.12447
}Semantic roles & 50–950 ramp
primary
#7F3CD3
secondary
#B9D695
accent
#E6429D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83