#786FF7#786FF7
#786FF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.0% C 0.197 H 282.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #786FF7 |
|---|---|
| RGB | rgb(120, 111, 247) |
| HSL | hsl(244, 89%, 70%) |
| HSV | hsv(244, 55%, 97%) |
| CMYK | cmyk(51.4%, 55.1%, 0%, 3.1%) |
| CIE-LAB | lab(54.11, 39.05, -67.27) |
| CIE-LCH | lch(54.11, 77.78, 300.14°) |
| OKLab | oklab(62.02% 0.0409 -0.1924) |
| OKLCH | oklch(62.02% 0.197 282) |
| XYZ | xyz(30.2135, 22.0756, 90.6466) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.61
Cornflower
#6A79F7
ΔE00 4.29
Periwinkle (survey)
#8E82FE
ΔE00 6.25
Mediumpurple
#9370DB
ΔE00 6.99
Lavender Blue
#8B88F8
ΔE00 7.55
Dark Periwinkle
#665FD1
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786FF7 #EEF76F
analogous
#6FAAF7 #786FF7 #BC6FF7
triadic
#786FF7 #F7786F #6FF778
tetradic
#786FF7 #F76FAA #EEF76F #6FF7BC
square
#786FF7 #F76FAA #EEF76F #6FF7BC
split-complementary
#786FF7 #F7BC6F #AAF76F
monochromatic
#1A0CDF #4235F4 #786FF7 #AEA9FA #E4E2FD
Accessibility & contrast
On white
3.88
#786FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#786FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786FF7
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786FF7 | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1086FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#448EA8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #786ff7; /* rgb */ color: rgb(120, 111, 247); /* oklch */ color: oklch(62.0% 0.197 282.0);
Tailwind
colors: {
custom: {
50: '#a898fb',
500: '#786ff7',
950: '#000000',
},
}SCSS
$custom: #786ff7; $custom-light: #a898fb; $custom-dark: #000000;
JSON
{
"hex": "#786ff7",
"rgb": {
"r": 120,
"g": 111,
"b": 247
},
"hsl": {
"h": 243.971,
"s": 89.474,
"l": 70.196
},
"oklch": {
"l": 0.62022,
"c": 0.19669,
"h": 282
},
"luminance": 0.22077
}Semantic roles & 50–950 ramp
primary
#786FF7
secondary
#F1F4CE
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100E17
muted
#7F7E85