#856AF2#856AF2

#856AF2 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.196 H 288.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#856AF2
RGBrgb(133, 106, 242)
HSLhsl(252, 84%, 68%)
HSVhsv(252, 56%, 95%)
CMYKcmyk(45%, 56.2%, 0%, 5.1%)
CIE-LABlab(53.71, 43.13, -65.08)
CIE-LCHlch(53.71, 78.07, 303.54°)
OKLaboklab(61.89% 0.062 -0.1856)
OKLCHoklch(61.89% 0.196 288.5)
XYZxyz(30.8493, 21.7042, 86.5511)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856AF2 #D7F26A
analogous
#6A93F2 #856AF2 #C96AF2
triadic
#856AF2 #F2856A #6AF285
tetradic
#856AF2 #F26A93 #D7F26A #6AF2C9
square
#856AF2 #F26A93 #D7F26A #6AF2C9
split-complementary
#856AF2 #F2C96A #93F26A
monochromatic
#3812CF #5732ED #856AF2 #B3A2F7 #E1DBFC

Accessibility & contrast

On white

3.93
#856AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#856AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #856AF2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856AF2#FFFFFF#000000##000000
##856AF21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#167DEF
Tritanopia (blue-blind)
#6388A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #856af2;
/* rgb */ color: rgb(133, 106, 242);
/* oklch */ color: oklch(61.9% 0.196 288.5);
Tailwind
colors: {
  custom: {
    50: '#af95f7',
    500: '#856af2',
    950: '#000000',
  },
}
SCSS
$custom: #856af2;
$custom-light: #af95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#856af2",
  "rgb": {
    "r": 133,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 251.912,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.19568,
    "h": 288.5
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#856AF2
secondary
#E8F1C7
accent
#E005B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #856AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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