#856FCB#856FCB

#856FCB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.137 H 292.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#856FCB
RGBrgb(133, 111, 203)
HSLhsl(254, 47%, 62%)
HSVhsv(254, 45%, 80%)
CMYKcmyk(34.5%, 45.3%, 0%, 20.4%)
CIE-LABlab(52.58, 29.52, -44.90)
CIE-LCHlch(52.58, 53.73, 303.32°)
OKLaboklab(60.31% 0.0532 -0.1264)
OKLCHoklch(60.31% 0.137 292.8)
XYZxyz(26.1340, 20.6667, 59.1005)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856FCB #B5CB6F
analogous
#6F87CB #856FCB #B36FCB
triadic
#856FCB #CB856F #6FCB85
tetradic
#856FCB #CB6F87 #B5CB6F #6FCBB3
square
#856FCB #CB6F87 #B5CB6F #6FCBB3
split-complementary
#856FCB #CBB36F #87CB6F
monochromatic
#48338D #5F43BA #856FCB #AB9CDB #D1C9EB

Accessibility & contrast

On white

4.09
#856FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#856FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856FCB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856FCB#FFFFFF#000000##000000
##856FCB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#748193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #856fcb;
/* rgb */ color: rgb(133, 111, 203);
/* oklch */ color: oklch(60.3% 0.137 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab98db',
    500: '#856fcb',
    950: '#000000',
  },
}
SCSS
$custom: #856fcb;
$custom-light: #ab98db;
$custom-dark: #000000;
JSON
{
  "hex": "#856fcb",
  "rgb": {
    "r": 133,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 254.348,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.13714,
    "h": 292.8
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#856FCB
secondary
#D4DCBA
accent
#BA2B98
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #856FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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