#856AEF#856AEF

#856AEF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.192 H 288.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#856AEF
RGBrgb(133, 106, 239)
HSLhsl(252, 81%, 68%)
HSVhsv(252, 56%, 94%)
CMYKcmyk(44.4%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.52, 42.29, -63.71)
CIE-LCHlch(53.52, 76.47, 303.58°)
OKLaboklab(61.68% 0.062 -0.1816)
OKLCHoklch(61.68% 0.192 288.8)
XYZxyz(30.4025, 21.5255, 84.1976)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856AEF #D4EF6A
analogous
#6A92EF #856AEF #C76AEF
triadic
#856AEF #EF856A #6AEF85
tetradic
#856AEF #EF6A92 #D4EF6A #6AEFC7
square
#856AEF #EF6A92 #D4EF6A #6AEFC7
split-complementary
#856AEF #EFC76A #92EF6A
monochromatic
#3A16C9 #5833E9 #856AEF #B2A1F5 #E0D9FB

Accessibility & contrast

On white

3.96
#856AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#856AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856AEF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856AEF#FFFFFF#000000##000000
##856AEF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A83F3
Deuteranopia (green-blind)
#1F7DEC
Tritanopia (blue-blind)
#6587A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #856aef;
/* rgb */ color: rgb(133, 106, 239);
/* oklch */ color: oklch(61.7% 0.192 288.8);
Tailwind
colors: {
  custom: {
    50: '#af95f5',
    500: '#856aef',
    950: '#000000',
  },
}
SCSS
$custom: #856aef;
$custom-light: #af95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#856aef",
  "rgb": {
    "r": 133,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 252.18,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.19187,
    "h": 288.8
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#856AEF
secondary
#E7EFC6
accent
#DD09B2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #856AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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