#856EC2#856EC2

#856EC2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.6% C 0.126 H 294.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#856EC2
RGBrgb(133, 110, 194)
HSLhsl(256, 41%, 60%)
HSVhsv(256, 43%, 76%)
CMYKcmyk(31.4%, 43.3%, 0%, 23.9%)
CIE-LABlab(51.87, 27.73, -40.87)
CIE-LCHlch(51.87, 49.39, 304.15°)
OKLaboklab(59.62% 0.0532 -0.1147)
OKLCHoklch(59.62% 0.126 294.9)
XYZxyz(24.9840, 20.0331, 53.5790)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856EC2 #ABC26E
analogous
#6E81C2 #856EC2 #AF6EC2
triadic
#856EC2 #C2856E #6EC285
tetradic
#856EC2 #C26E81 #ABC26E #6EC2AF
square
#856EC2 #C26E81 #ABC26E #6EC2AF
split-complementary
#856EC2 #C2AF6E #81C26E
monochromatic
#4A3680 #6348AB #856EC2 #A999D4 #CDC4E6

Accessibility & contrast

On white

4.19
#856EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#856EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856EC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856EC2#FFFFFF#000000##000000
##856EC21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#587AC0
Tritanopia (blue-blind)
#777D8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #856ec2;
/* rgb */ color: rgb(133, 110, 194);
/* oklch */ color: oklch(59.6% 0.126 294.9);
Tailwind
colors: {
  custom: {
    50: '#ab98d5',
    500: '#856ec2',
    950: '#000000',
  },
}
SCSS
$custom: #856ec2;
$custom-light: #ab98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#856ec2",
  "rgb": {
    "r": 133,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 256.429,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.12641,
    "h": 294.9
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#856EC2
secondary
#CDD6B6
accent
#D157AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #856EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#856EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva