#7F3FD8#7F3FD8
#7F3FD8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.219 H 297.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FD8 |
|---|---|
| RGB | rgb(127, 63, 216) |
| HSL | hsl(265, 66%, 55%) |
| HSV | hsv(265, 71%, 85%) |
| CMYK | cmyk(41.2%, 70.8%, 0%, 15.3%) |
| CIE-LAB | lab(42.80, 57.77, -68.10) |
| CIE-LCH | lch(42.80, 89.31, 310.31°) |
| OKLab | oklab(53.26% 0.1012 -0.1946) |
| OKLCH | oklch(53.26% 0.219 297.5) |
| XYZ | xyz(22.9214, 13.0245, 66.2588) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.14
Bluish Purple
#703BE7
ΔE00 3.15
Burple
#6832E3
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 5.20
Purpleish Blue
#6140EF
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FD8 #98D83F
analogous
#3F4CD8 #7F3FD8 #CC3FD8
triadic
#7F3FD8 #D87F3F #3FD87F
tetradic
#7F3FD8 #D83F4C #98D83F #3FD8CC
square
#7F3FD8 #D83F4C #98D83F #3FD8CC
split-complementary
#7F3FD8 #D8CC3F #4CD83F
monochromatic
#461A82 #6125B5 #7F3FD8 #A172E2 #C3A5ED
Accessibility & contrast
On white
5.83
#7F3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7F3FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FD8
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FD8 | 1.00 | 5.83 | 3.61 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#696587
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f3fd8; /* rgb */ color: rgb(127, 63, 216); /* oklch */ color: oklch(53.3% 0.219 297.5);
Tailwind
colors: {
custom: {
50: '#ab79e5',
500: '#7f3fd8',
950: '#000000',
},
}SCSS
$custom: #7f3fd8; $custom-light: #ab79e5; $custom-dark: #000000;
JSON
{
"hex": "#7f3fd8",
"rgb": {
"r": 127,
"g": 63,
"b": 216
},
"hsl": {
"h": 265.098,
"s": 66.234,
"l": 54.706
},
"oklch": {
"l": 0.53259,
"c": 0.2194,
"h": 297.5
},
"luminance": 0.13025
}Semantic roles & 50–950 ramp
primary
#7F3FD8
secondary
#BFDA99
accent
#E93FA2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84