#7863BB#7863BB
#7863BB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.0% C 0.133 H 292.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7863BB |
|---|---|
| RGB | rgb(120, 99, 187) |
| HSL | hsl(254, 39%, 56%) |
| HSV | hsv(254, 47%, 73%) |
| CMYK | cmyk(35.8%, 47.1%, 0%, 26.7%) |
| CIE-LAB | lab(47.63, 28.85, -43.64) |
| CIE-LCH | lch(47.63, 52.31, 303.47°) |
| OKLab | oklab(56.02% 0.0511 -0.1231) |
| OKLCH | oklch(56.02% 0.133 292.6) |
| XYZ | xyz(21.1749, 16.5041, 49.0741) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.19
Deep Lavender
#8D5EB7
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.60
Iris
#6258C4
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7863BB #A6BB63
analogous
#637ABB #7863BB #A463BB
triadic
#7863BB #BB7863 #63BB78
tetradic
#7863BB #BB637A #A6BB63 #63BBA4
square
#7863BB #BB637A #A6BB63 #63BBA4
split-complementary
#7863BB #BBA463 #7ABB63
monochromatic
#413272 #59449D #7863BB #9D8ECE #C2B8E0
Accessibility & contrast
On white
4.88
#7863BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7863BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7863BB
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7863BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7863BB | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#687486
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7863bb; /* rgb */ color: rgb(120, 99, 187); /* oklch */ color: oklch(56.0% 0.133 292.6);
Tailwind
colors: {
custom: {
50: '#a28fd0',
500: '#7863bb',
950: '#000000',
},
}SCSS
$custom: #7863bb; $custom-light: #a28fd0; $custom-dark: #000000;
JSON
{
"hex": "#7863bb",
"rgb": {
"r": 120,
"g": 99,
"b": 187
},
"hsl": {
"h": 254.318,
"s": 39.286,
"l": 56.078
},
"oklch": {
"l": 0.56017,
"c": 0.13325,
"h": 292.6
},
"luminance": 0.16505
}Semantic roles & 50–950 ramp
primary
#7863BB
secondary
#C6CFAB
accent
#CF59B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82