#846CD2#846CD2

#846CD2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.151 H 292.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#846CD2
RGBrgb(132, 108, 210)
HSLhsl(254, 53%, 62%)
HSVhsv(254, 49%, 82%)
CMYKcmyk(37.1%, 48.6%, 0%, 17.6%)
CIE-LABlab(52.16, 32.90, -49.57)
CIE-LCHlch(52.16, 59.49, 303.57°)
OKLaboklab(60.09% 0.0568 -0.1401)
OKLCHoklch(60.09% 0.151 292.1)
XYZxyz(26.5081, 20.2832, 63.4787)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846CD2 #BAD26C
analogous
#6C87D2 #846CD2 #B76CD2
triadic
#846CD2 #D2846C #6CD284
tetradic
#846CD2 #D26C87 #BAD26C #6CD2B7
square
#846CD2 #D26C87 #BAD26C #6CD2B7
split-complementary
#846CD2 #D2B76C #87D26C
monochromatic
#462E96 #5D3DC4 #846CD2 #AB9BE0 #D2CAEF

Accessibility & contrast

On white

4.15
#846CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#846CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #846CD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846CD2#FFFFFF#000000##000000
##846CD21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#708095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #846cd2;
/* rgb */ color: rgb(132, 108, 210);
/* oklch */ color: oklch(60.1% 0.151 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab96e0',
    500: '#846cd2',
    950: '#000000',
  },
}
SCSS
$custom: #846cd2;
$custom-light: #ab96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#846cd2",
  "rgb": {
    "r": 132,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 254.118,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.15115,
    "h": 292.1
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#846CD2
secondary
#D7E0BA
accent
#C1259C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #846CD2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#846CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva