#846CEB#846CEB

#846CEB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.184 H 288.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#846CEB
RGBrgb(132, 108, 235)
HSLhsl(251, 76%, 67%)
HSVhsv(251, 54%, 92%)
CMYKcmyk(43.8%, 54%, 0%, 7.8%)
CIE-LABlab(53.63, 39.81, -61.30)
CIE-LCHlch(53.63, 73.10, 303.00°)
OKLaboklab(61.66% 0.0584 -0.1745)
OKLCHoklch(61.66% 0.184 288.5)
XYZxyz(29.8694, 21.6277, 81.1819)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846CEB #D3EB6C
analogous
#6C93EB #846CEB #C46CEB
triadic
#846CEB #EB846C #6CEB84
tetradic
#846CEB #EB6C93 #D3EB6C #6CEBC4
square
#846CEB #EB6C93 #D3EB6C #6CEBC4
split-complementary
#846CEB #EBC46C #93EB6C
monochromatic
#3A1AC2 #5736E4 #846CEB #B1A2F2 #DED8FA

Accessibility & contrast

On white

3.94
#846CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#846CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #846CEB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846CEB#FFFFFF#000000##000000
##846CEB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#6587A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #846ceb;
/* rgb */ color: rgb(132, 108, 235);
/* oklch */ color: oklch(61.7% 0.184 288.5);
Tailwind
colors: {
  custom: {
    50: '#ae97f2',
    500: '#846ceb',
    950: '#000000',
  },
}
SCSS
$custom: #846ceb;
$custom-light: #ae97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#846ceb",
  "rgb": {
    "r": 132,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 251.339,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.18404,
    "h": 288.5
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#846CEB
secondary
#E6EDC5
accent
#D80DB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #846CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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