#7F63B2#7F63B2
#7F63B2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.2% C 0.122 H 298.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F63B2 |
|---|---|
| RGB | rgb(127, 99, 178) |
| HSL | hsl(261, 34%, 54%) |
| HSV | hsv(261, 44%, 70%) |
| CMYK | cmyk(28.7%, 44.4%, 0%, 30.2%) |
| CIE-LAB | lab(47.82, 28.39, -38.07) |
| CIE-LCH | lch(47.82, 47.49, 306.72°) |
| OKLab | oklab(56.16% 0.0586 -0.1066) |
| OKLCH | oklch(56.16% 0.122 298.8) |
| XYZ | xyz(21.2482, 16.6499, 44.2052) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.64
Royal Purple
#7851A9
ΔE00 5.74
Deep Lilac
#966EBD
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.34
Dark Lavender
#856798
ΔE00 7.37
Light Indigo
#6D5ACF
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F63B2 #96B263
analogous
#636FB2 #7F63B2 #A763B2
triadic
#7F63B2 #B27F63 #63B27F
tetradic
#7F63B2 #B2636F #96B263 #63B2A7
square
#7F63B2 #B2636F #96B263 #63B2A7
split-complementary
#7F63B2 #B2A763 #6FB263
monochromatic
#463368 #614790 #7F63B2 #A18CC6 #C2B5DA
Accessibility & contrast
On white
4.85
#7F63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7F63B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F63B2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F63B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F63B2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#757182
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f63b2; /* rgb */ color: rgb(127, 99, 178); /* oklch */ color: oklch(56.2% 0.122 298.8);
Tailwind
colors: {
custom: {
50: '#a690c9',
500: '#7f63b2',
950: '#000000',
},
}SCSS
$custom: #7f63b2; $custom-light: #a690c9; $custom-dark: #000000;
JSON
{
"hex": "#7f63b2",
"rgb": {
"r": 127,
"g": 99,
"b": 178
},
"hsl": {
"h": 261.266,
"s": 33.906,
"l": 54.314
},
"oklch": {
"l": 0.5616,
"c": 0.12165,
"h": 298.8
},
"luminance": 0.1665
}Semantic roles & 50–950 ramp
primary
#7F63B2
secondary
#BDC9A8
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82