#846EF2#846EF2
#846EF2 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.190 H 287.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #846EF2 |
|---|---|
| RGB | rgb(132, 110, 242) |
| HSL | hsl(250, 84%, 69%) |
| HSV | hsv(250, 55%, 95%) |
| CMYK | cmyk(45.5%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(54.52, 40.63, -63.78) |
| CIE-LCH | lch(54.52, 75.62, 302.50°) |
| OKLab | oklab(62.46% 0.0563 -0.1818) |
| OKLCH | oklch(62.46% 0.19 287.2) |
| XYZ | xyz(31.1140, 22.4669, 86.6843) |
| Luminance | 0.2247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.36
Mediumpurple
#9370DB
ΔE00 4.94
Periwinkle (survey)
#8E82FE
ΔE00 6.01
Cornflower
#6A79F7
ΔE00 6.21
Purpley
#8756E4
ΔE00 7.18
Lighter Purple
#A55AF4
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#846EF2 #DCF26E
analogous
#6E9AF2 #846EF2 #C66EF2
triadic
#846EF2 #F2846E #6EF284
tetradic
#846EF2 #F26E9A #DCF26E #6EF2C6
square
#846EF2 #F26E9A #DCF26E #6EF2C6
split-complementary
#846EF2 #F2C66E #9AF26E
monochromatic
#3313D3 #5436ED #846EF2 #B4A6F7 #E3DEFC
Accessibility & contrast
On white
3.82
#846EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#846EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #846EF2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##846EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##846EF2 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2486F6
Deuteranopia (green-blind)
#237FEF
Tritanopia (blue-blind)
#618BA5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #846ef2; /* rgb */ color: rgb(132, 110, 242); /* oklch */ color: oklch(62.5% 0.190 287.2);
Tailwind
colors: {
custom: {
50: '#ae98f7',
500: '#846ef2',
950: '#000000',
},
}SCSS
$custom: #846ef2; $custom-light: #ae98f7; $custom-dark: #000000;
JSON
{
"hex": "#846ef2",
"rgb": {
"r": 132,
"g": 110,
"b": 242
},
"hsl": {
"h": 250,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.62462,
"c": 0.19032,
"h": 287.2
},
"luminance": 0.22468
}Semantic roles & 50–950 ramp
primary
#846EF2
secondary
#EBF1CB
accent
#E006BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85