#7863BF#7863BF
#7863BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.3% C 0.139 H 291.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7863BF |
|---|---|
| RGB | rgb(120, 99, 191) |
| HSL | hsl(254, 42%, 57%) |
| HSV | hsv(254, 48%, 75%) |
| CMYK | cmyk(37.2%, 48.2%, 0%, 25.1%) |
| CIE-LAB | lab(47.85, 29.94, -45.60) |
| CIE-LCH | lch(47.85, 54.55, 303.29°) |
| OKLab | oklab(56.26% 0.0516 -0.1288) |
| OKLCH | oklch(56.26% 0.139 291.8) |
| XYZ | xyz(21.6090, 16.6778, 51.3607) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 5.04
Iris
#6258C4
ΔE00 5.54
Deep Lavender
#8D5EB7
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7863BF #AABF63
analogous
#637CBF #7863BF #A663BF
triadic
#7863BF #BF7863 #63BF78
tetradic
#7863BF #BF637C #AABF63 #63BFA6
square
#7863BF #BF637C #AABF63 #63BFA6
split-complementary
#7863BF #BFA663 #7CBF63
monochromatic
#413177 #5843A2 #7863BF #9E8ED1 #C3BAE3
Accessibility & contrast
On white
4.84
#7863BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7863BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7863BF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7863BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7863BF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#667588
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7863bf; /* rgb */ color: rgb(120, 99, 191); /* oklch */ color: oklch(56.3% 0.139 291.8);
Tailwind
colors: {
custom: {
50: '#a28fd3',
500: '#7863bf',
950: '#000000',
},
}SCSS
$custom: #7863bf; $custom-light: #a28fd3; $custom-dark: #000000;
JSON
{
"hex": "#7863bf",
"rgb": {
"r": 120,
"g": 99,
"b": 191
},
"hsl": {
"h": 253.696,
"s": 41.818,
"l": 56.863
},
"oklch": {
"l": 0.56256,
"c": 0.13874,
"h": 291.8
},
"luminance": 0.16678
}Semantic roles & 50–950 ramp
primary
#7863BF
secondary
#C9D2AC
accent
#D256B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83