#786ABE#786ABE
#786ABE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.5% C 0.127 H 289.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #786ABE |
|---|---|
| RGB | rgb(120, 106, 190) |
| HSL | hsl(250, 39%, 58%) |
| HSV | hsv(250, 44%, 75%) |
| CMYK | cmyk(36.8%, 44.2%, 0%, 25.5%) |
| CIE-LAB | lab(49.52, 25.48, -42.37) |
| CIE-LCH | lch(49.52, 49.44, 301.02°) |
| OKLab | oklab(57.49% 0.0422 -0.1194) |
| OKLCH | oklch(57.49% 0.127 289.5) |
| XYZ | xyz(22.1915, 18.0182, 51.0139) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.34
Slate Blue
#6A5ACD
ΔE00 6.42
Mediumpurple
#9370DB
ΔE00 6.89
Deep Lavender
#8D5EB7
ΔE00 6.93
Iris
#6258C4
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786ABE #B0BE6A
analogous
#6A86BE #786ABE #A26ABE
triadic
#786ABE #BE786A #6ABE78
tetradic
#786ABE #BE6A86 #B0BE6A #6ABEA2
square
#786ABE #BE6A86 #B0BE6A #6ABEA2
split-complementary
#786ABE #BEA26A #86BE6A
monochromatic
#403579 #5747A3 #786ABE #9F95D1 #C5BFE3
Accessibility & contrast
On white
4.56
#786ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#786ABE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786ABE
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786ABE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786ABE | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#667A8B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #786abe; /* rgb */ color: rgb(120, 106, 190); /* oklch */ color: oklch(57.5% 0.127 289.5);
Tailwind
colors: {
custom: {
50: '#a294d2',
500: '#786abe',
950: '#000000',
},
}SCSS
$custom: #786abe; $custom-light: #a294d2; $custom-dark: #000000;
JSON
{
"hex": "#786abe",
"rgb": {
"r": 120,
"g": 106,
"b": 190
},
"hsl": {
"h": 250,
"s": 39.252,
"l": 58.039
},
"oklch": {
"l": 0.57494,
"c": 0.12659,
"h": 289.5
},
"luminance": 0.18019
}Semantic roles & 50–950 ramp
primary
#786ABE
secondary
#CDD3B1
accent
#CF59BB
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82