#786FF1#786FF1
#786FF1 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.189 H 282.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #786FF1 |
|---|---|
| RGB | rgb(120, 111, 241) |
| HSL | hsl(244, 82%, 69%) |
| HSV | hsv(244, 54%, 95%) |
| CMYK | cmyk(50.2%, 53.9%, 0%, 5.5%) |
| CIE-LAB | lab(53.72, 37.26, -64.56) |
| CIE-LCH | lch(53.72, 74.54, 299.99°) |
| OKLab | oklab(61.61% 0.0407 -0.1844) |
| OKLCH | oklch(61.61% 0.189 282.5) |
| XYZ | xyz(29.3025, 21.7112, 85.8487) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.31
Cornflower
#6A79F7
ΔE00 4.41
Periwinkle (survey)
#8E82FE
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 6.58
Dark Periwinkle
#665FD1
ΔE00 7.46
Lavender Blue
#8B88F8
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786FF1 #E8F16F
analogous
#6FA7F1 #786FF1 #B96FF1
triadic
#786FF1 #F1786F #6FF178
tetradic
#786FF1 #F16FA7 #E8F16F #6FF1B9
square
#786FF1 #F16FA7 #E8F16F #6FF1B9
split-complementary
#786FF1 #F1B96F #A7F16F
monochromatic
#2114D1 #4437EC #786FF1 #ACA7F6 #E1DFFC
Accessibility & contrast
On white
3.93
#786FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#786FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786FF1
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786FF1 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2285F5
Deuteranopia (green-blind)
#107CEE
Tritanopia (blue-blind)
#498CA5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #786ff1; /* rgb */ color: rgb(120, 111, 241); /* oklch */ color: oklch(61.6% 0.189 282.5);
Tailwind
colors: {
custom: {
50: '#a798f6',
500: '#786ff1',
950: '#000000',
},
}SCSS
$custom: #786ff1; $custom-light: #a798f6; $custom-dark: #000000;
JSON
{
"hex": "#786ff1",
"rgb": {
"r": 120,
"g": 111,
"b": 241
},
"hsl": {
"h": 244.154,
"s": 82.278,
"l": 69.02
},
"oklch": {
"l": 0.6161,
"c": 0.18887,
"h": 282.5
},
"luminance": 0.21713
}Semantic roles & 50–950 ramp
primary
#786FF1
secondary
#EEF1CB
accent
#DF07D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85