#846AF3#846AF3
#846AF3 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.197 H 288.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #846AF3 |
|---|---|
| RGB | rgb(132, 106, 243) |
| HSL | hsl(251, 85%, 68%) |
| HSV | hsv(251, 56%, 95%) |
| CMYK | cmyk(45.7%, 56.4%, 0%, 4.7%) |
| CIE-LAB | lab(53.69, 43.21, -65.67) |
| CIE-LCH | lch(53.69, 78.61, 303.34°) |
| OKLab | oklab(61.87% 0.0607 -0.1874) |
| OKLCH | oklch(61.87% 0.197 288) |
| XYZ | xyz(30.8428, 21.6834, 87.3369) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.79
Mediumpurple
#9370DB
ΔE00 5.18
Purpley
#8756E4
ΔE00 6.14
Lighter Purple
#A55AF4
ΔE00 6.85
Cornflower
#6A79F7
ΔE00 6.99
Periwinkle (survey)
#8E82FE
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#846AF3 #D9F36A
analogous
#6A94F3 #846AF3 #C86AF3
triadic
#846AF3 #F3846A #6AF384
tetradic
#846AF3 #F36A94 #D9F36A #6AF3C8
square
#846AF3 #F36A94 #D9F36A #6AF3C8
split-complementary
#846AF3 #F3C86A #94F36A
monochromatic
#3511D2 #5531EE #846AF3 #B3A3F8 #E2DBFC
Accessibility & contrast
On white
3.93
#846AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#846AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #846AF3
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##846AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##846AF3 | 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)
#0B83F8
Deuteranopia (green-blind)
#0E7DF0
Tritanopia (blue-blind)
#6189A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #846af3; /* rgb */ color: rgb(132, 106, 243); /* oklch */ color: oklch(61.9% 0.197 288.0);
Tailwind
colors: {
custom: {
50: '#af95f8',
500: '#846af3',
950: '#000000',
},
}SCSS
$custom: #846af3; $custom-light: #af95f8; $custom-dark: #000000;
JSON
{
"hex": "#846af3",
"rgb": {
"r": 132,
"g": 106,
"b": 243
},
"hsl": {
"h": 251.387,
"s": 85.093,
"l": 68.431
},
"oklch": {
"l": 0.61869,
"c": 0.19699,
"h": 288
},
"luminance": 0.21685
}Semantic roles & 50–950 ramp
primary
#846AF3
secondary
#E9F1C8
accent
#E204B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85