#856BEB#856BEB

#856BEB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.185 H 289.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#856BEB
RGBrgb(133, 107, 235)
HSLhsl(252, 76%, 67%)
HSVhsv(252, 54%, 92%)
CMYKcmyk(43.4%, 54.5%, 0%, 7.8%)
CIE-LABlab(53.49, 40.60, -61.52)
CIE-LCHlch(53.49, 73.71, 303.42°)
OKLaboklab(61.58% 0.0608 -0.1751)
OKLCHoklch(61.58% 0.185 289.1)
XYZxyz(29.9217, 21.4990, 81.1543)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856BEB #D1EB6B
analogous
#6B91EB #856BEB #C56BEB
triadic
#856BEB #EB856B #6BEB85
tetradic
#856BEB #EB6B91 #D1EB6B #6BEBC5
square
#856BEB #EB6B91 #D1EB6B #6BEBC5
split-complementary
#856BEB #EBC56B #91EB6B
monochromatic
#3C1AC1 #5935E4 #856BEB #B1A1F2 #DED7FA

Accessibility & contrast

On white

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

On black

5.30
#856BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856BEB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856BEB#FFFFFF#000000##000000
##856BEB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#2A7DE8
Tritanopia (blue-blind)
#6787A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #856beb;
/* rgb */ color: rgb(133, 107, 235);
/* oklch */ color: oklch(61.6% 0.185 289.1);
Tailwind
colors: {
  custom: {
    50: '#ae96f2',
    500: '#856beb',
    950: '#000000',
  },
}
SCSS
$custom: #856beb;
$custom-light: #ae96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#856beb",
  "rgb": {
    "r": 133,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 252.188,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.18539,
    "h": 289.1
  },
  "luminance": 0.215
}

Semantic roles & 50–950 ramp

primary
#856BEB
secondary
#E5EDC5
accent
#D80DAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #856BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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