#846EF7#846EF7
#846EF7 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.8% C 0.197 H 286.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #846EF7 |
|---|---|
| RGB | rgb(132, 110, 247) |
| HSL | hsl(250, 90%, 70%) |
| HSV | hsv(250, 55%, 97%) |
| CMYK | cmyk(46.6%, 55.5%, 0%, 3.1%) |
| CIE-LAB | lab(54.84, 42.06, -66.05) |
| CIE-LCH | lch(54.84, 78.30, 302.49°) |
| OKLab | oklab(62.8% 0.0564 -0.1885) |
| OKLCH | oklch(62.8% 0.197 286.7) |
| XYZ | xyz(31.8753, 22.7714, 90.6934) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Mediumpurple
#9370DB
ΔE00 5.45
Periwinkle (survey)
#8E82FE
ΔE00 5.83
Cornflower
#6A79F7
ΔE00 6.09
Purpley
#8756E4
ΔE00 7.45
Lavender Blue
#8B88F8
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#846EF7 #E1F76E
analogous
#6E9DF7 #846EF7 #C86EF7
triadic
#846EF7 #F7846E #6EF784
tetradic
#846EF7 #F76E9D #E1F76E #6EF7C8
square
#846EF7 #F76E9D #E1F76E #6EF7C8
split-complementary
#846EF7 #F7C86E #9DF76E
monochromatic
#2E0CDE #5334F4 #846EF7 #B5A8FA #E6E2FD
Accessibility & contrast
On white
3.78
#846EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#846EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #846EF7
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##846EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##846EF7 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1787FC
Deuteranopia (green-blind)
#147FF4
Tritanopia (blue-blind)
#5E8DA8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #846ef7; /* rgb */ color: rgb(132, 110, 247); /* oklch */ color: oklch(62.8% 0.197 286.7);
Tailwind
colors: {
custom: {
50: '#af98fb',
500: '#846ef7',
950: '#000000',
},
}SCSS
$custom: #846ef7; $custom-light: #af98fb; $custom-dark: #000000;
JSON
{
"hex": "#846ef7",
"rgb": {
"r": 132,
"g": 110,
"b": 247
},
"hsl": {
"h": 249.635,
"s": 89.542,
"l": 70
},
"oklch": {
"l": 0.62799,
"c": 0.19672,
"h": 286.7
},
"luminance": 0.22773
}Semantic roles & 50–950 ramp
primary
#846EF7
secondary
#EDF4CD
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85