#786FC0#786FC0
#786FC0 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.122 H 287.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #786FC0 |
|---|---|
| RGB | rgb(120, 111, 192) |
| HSL | hsl(247, 39%, 59%) |
| HSV | hsv(247, 42%, 75%) |
| CMYK | cmyk(37.5%, 42.2%, 0%, 24.7%) |
| CIE-LAB | lab(50.88, 23.03, -41.37) |
| CIE-LCH | lch(50.88, 47.35, 299.11°) |
| OKLab | oklab(58.56% 0.0358 -0.1164) |
| OKLCH | oklch(58.56% 0.122 287.1) |
| XYZ | xyz(22.9420, 19.1670, 52.3498) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumpurple
#9370DB
ΔE00 6.71
Dark Periwinkle
#665FD1
ΔE00 6.93
Mediumslateblue
#7B68EE
ΔE00 7.47
Deep Lilac
#966EBD
ΔE00 7.59
Light Indigo
#6D5ACF
ΔE00 7.62
Slate Blue
#6A5ACD
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786FC0 #B7C06F
analogous
#6F8FC0 #786FC0 #A16FC0
triadic
#786FC0 #C0786F #6FC078
tetradic
#786FC0 #C06F8F #B7C06F #6FC0A1
square
#786FC0 #C06F8F #B7C06F #6FC0A1
split-complementary
#786FC0 #C0A16F #8FC06F
monochromatic
#3F377E #544AA8 #786FC0 #A09AD3 #C8C4E5
Accessibility & contrast
On white
4.34
#786FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#786FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786FC0
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786FC0 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547BC3
Deuteranopia (green-blind)
#5377BE
Tritanopia (blue-blind)
#657F8E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #786fc0; /* rgb */ color: rgb(120, 111, 192); /* oklch */ color: oklch(58.6% 0.122 287.1);
Tailwind
colors: {
custom: {
50: '#a298d3',
500: '#786fc0',
950: '#000000',
},
}SCSS
$custom: #786fc0; $custom-light: #a298d3; $custom-dark: #000000;
JSON
{
"hex": "#786fc0",
"rgb": {
"r": 120,
"g": 111,
"b": 192
},
"hsl": {
"h": 246.667,
"s": 39.13,
"l": 59.412
},
"oklch": {
"l": 0.58561,
"c": 0.12179,
"h": 287.1
},
"luminance": 0.19168
}Semantic roles & 50–950 ramp
primary
#786FC0
secondary
#D2D5B6
accent
#CF59C2
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83