#856CD7#856CD7

#856CD7 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.158 H 291.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#856CD7
RGBrgb(133, 108, 215)
HSLhsl(254, 57%, 63%)
HSVhsv(254, 50%, 84%)
CMYKcmyk(38.1%, 49.8%, 0%, 15.7%)
CIE-LABlab(52.53, 34.51, -51.81)
CIE-LCHlch(52.53, 62.25, 303.67°)
OKLaboklab(60.48% 0.0585 -0.1466)
OKLCHoklch(60.48% 0.158 291.7)
XYZxyz(27.2979, 20.6173, 66.8181)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856CD7 #BED76C
analogous
#6C88D7 #856CD7 #BA6CD7
triadic
#856CD7 #D7856C #6CD785
tetradic
#856CD7 #D76C88 #BED76C #6CD7BA
square
#856CD7 #D76C88 #BED76C #6CD7BA
split-complementary
#856CD7 #D7BA6C #88D76C
monochromatic
#462B9E #5D3CCA #856CD7 #AD9CE4 #D5CCF1

Accessibility & contrast

On white

4.10
#856CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#856CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856CD7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856CD7#FFFFFF#000000##000000
##856CD71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDB
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#708297
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #856cd7;
/* rgb */ color: rgb(133, 108, 215);
/* oklch */ color: oklch(60.5% 0.158 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac96e4',
    500: '#856cd7',
    950: '#000000',
  },
}
SCSS
$custom: #856cd7;
$custom-light: #ac96e4;
$custom-dark: #000000;
JSON
{
  "hex": "#856cd7",
  "rgb": {
    "r": 133,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 254.019,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.15784,
    "h": 291.7
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#856CD7
secondary
#DAE2BC
accent
#C5219E
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #856CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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