#7F3DDC#7F3DDC
#7F3DDC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.226 H 296.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DDC |
|---|---|
| RGB | rgb(127, 61, 220) |
| HSL | hsl(265, 69%, 55%) |
| HSV | hsv(265, 72%, 86%) |
| CMYK | cmyk(42.3%, 72.3%, 0%, 13.7%) |
| CIE-LAB | lab(42.79, 59.69, -70.41) |
| CIE-LCH | lch(42.79, 92.31, 310.29°) |
| OKLab | oklab(53.35% 0.1023 -0.2014) |
| OKLCH | oklch(53.35% 0.226 296.9) |
| XYZ | xyz(23.3360, 13.0164, 68.9792) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.76
Blueviolet
#8A2BE2
ΔE00 2.79
Burple
#6832E3
ΔE00 4.29
Purpleish Blue
#6140EF
ΔE00 4.93
Purpley Blue
#5F34E7
ΔE00 5.22
Violet (survey)
#9A0EEA
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DDC #9ADC3D
analogous
#3D4ADC #7F3DDC #CF3DDC
triadic
#7F3DDC #DC7F3D #3DDC7F
tetradic
#7F3DDC #DC3D4A #9ADC3D #3DDCCF
square
#7F3DDC #DC3D4A #9ADC3D #3DDCCF
split-complementary
#7F3DDC #DCCF3D #4ADC3D
monochromatic
#461886 #6122BA #7F3DDC #A171E5 #C3A5EF
Accessibility & contrast
On white
5.83
#7F3DDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7F3DDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DDC
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DDC | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#676689
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f3ddc; /* rgb */ color: rgb(127, 61, 220); /* oklch */ color: oklch(53.3% 0.226 296.9);
Tailwind
colors: {
custom: {
50: '#ac78e8',
500: '#7f3ddc',
950: '#000000',
},
}SCSS
$custom: #7f3ddc; $custom-light: #ac78e8; $custom-dark: #000000;
JSON
{
"hex": "#7f3ddc",
"rgb": {
"r": 127,
"g": 61,
"b": 220
},
"hsl": {
"h": 264.906,
"s": 69.432,
"l": 55.098
},
"oklch": {
"l": 0.53348,
"c": 0.2259,
"h": 296.9
},
"luminance": 0.13017
}Semantic roles & 50–950 ramp
primary
#7F3DDC
secondary
#C0DC99
accent
#EC3CA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84