#6856BE#6856BE

#6856BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.4% C 0.157 H 287.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6856BE
RGBrgb(104, 86, 190)
HSLhsl(250, 44%, 54%)
HSVhsv(250, 55%, 75%)
CMYKcmyk(45.3%, 54.7%, 0%, 25.5%)
CIE-LABlab(43.23, 33.54, -52.49)
CIE-LCHlch(43.23, 62.29, 302.58°)
OKLaboklab(52.44% 0.0477 -0.1495)
OKLCHoklch(52.44% 0.157 287.7)
XYZxyz(18.3283, 13.3156, 50.3097)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BE #ACBE56
analogous
#5678BE #6856BE #9C56BE
triadic
#6856BE #BE6856 #56BE68
tetradic
#6856BE #BE5678 #ACBE56 #56BE9C
square
#6856BE #BE5678 #ACBE56 #56BE9C
split-complementary
#6856BE #BE9C56 #78BE56
monochromatic
#362B6F #4C3C9B #6856BE #8F82CF #B7AEE0

Accessibility & contrast

On white

5.73
#6856BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6856BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BE#FFFFFF#000000##FFFFFF
##6856BE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#1F63BC
Tritanopia (blue-blind)
#4D6D82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6856be;
/* rgb */ color: rgb(104, 86, 190);
/* oklch */ color: oklch(52.4% 0.157 287.7);
Tailwind
colors: {
  custom: {
    50: '#9986d2',
    500: '#6856be',
    950: '#000000',
  },
}
SCSS
$custom: #6856be;
$custom-light: #9986d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6856be",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 250.385,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.15691,
    "h": 287.7
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#6856BE
secondary
#C6CEA2
accent
#D454BE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6856BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6856BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva