#7F3FCA#7F3FCA
#7F3FCA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.204 H 300.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FCA |
|---|---|
| RGB | rgb(127, 63, 202) |
| HSL | hsl(268, 57%, 52%) |
| HSV | hsv(268, 69%, 79%) |
| CMYK | cmyk(37.1%, 68.8%, 0%, 20.8%) |
| CIE-LAB | lab(41.74, 54.30, -61.76) |
| CIE-LCH | lch(41.74, 82.24, 311.32°) |
| OKLab | oklab(52.17% 0.1036 -0.176) |
| OKLCH | oklch(52.17% 0.204 300.5) |
| XYZ | xyz(21.1880, 12.3311, 57.1295) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.00
Darkorchid
#9932CC
ΔE00 4.67
Bluish Purple
#703BE7
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.99
Burple
#6832E3
ΔE00 5.50
Darkviolet
#9400D3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FCA #8ACA3F
analogous
#3F45CA #7F3FCA #C53FCA
triadic
#7F3FCA #CA7F3F #3FCA7F
tetradic
#7F3FCA #CA3F45 #8ACA3F #3FCAC5
square
#7F3FCA #CA3F45 #8ACA3F #3FCAC5
split-complementary
#7F3FCA #CAC53F #45CA3F
monochromatic
#441F70 #612CA0 #7F3FCA #9F6FD7 #BF9FE4
Accessibility & contrast
On white
6.06
#7F3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7F3FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FCA
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FCA | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#6E6080
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f3fca; /* rgb */ color: rgb(127, 63, 202); /* oklch */ color: oklch(52.2% 0.204 300.5);
Tailwind
colors: {
custom: {
50: '#aa79db',
500: '#7f3fca',
950: '#000000',
},
}SCSS
$custom: #7f3fca; $custom-light: #aa79db; $custom-dark: #000000;
JSON
{
"hex": "#7f3fca",
"rgb": {
"r": 127,
"g": 63,
"b": 202
},
"hsl": {
"h": 267.626,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.5217,
"c": 0.20426,
"h": 300.5
},
"luminance": 0.12331
}Semantic roles & 50–950 ramp
primary
#7F3FCA
secondary
#B5D194
accent
#E0489A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83