#6856BF#6856BF

#6856BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.5% C 0.158 H 287.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6856BF
RGBrgb(104, 86, 191)
HSLhsl(250, 45%, 54%)
HSVhsv(250, 55%, 75%)
CMYKcmyk(45.5%, 55%, 0%, 25.1%)
CIE-LABlab(43.30, 33.84, -52.97)
CIE-LCHlch(43.30, 62.85, 302.57°)
OKLaboklab(52.51% 0.0477 -0.1509)
OKLCHoklch(52.51% 0.158 287.5)
XYZxyz(18.4380, 13.3595, 50.8873)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BF #ADBF56
analogous
#5679BF #6856BF #9D56BF
triadic
#6856BF #BF6856 #56BF68
tetradic
#6856BF #BF5679 #ADBF56 #56BF9D
square
#6856BF #BF5679 #ADBF56 #56BF9D
split-complementary
#6856BF #BF9D56 #79BF56
monochromatic
#362A70 #4C3B9D #6856BF #9082D0 #B7AFE1

Accessibility & contrast

On white

5.72
#6856BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6856BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BF#FFFFFF#000000##FFFFFF
##6856BF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6856bf;
/* rgb */ color: rgb(104, 86, 191);
/* oklch */ color: oklch(52.5% 0.158 287.5);
Tailwind
colors: {
  custom: {
    50: '#9986d3',
    500: '#6856bf',
    950: '#000000',
  },
}
SCSS
$custom: #6856bf;
$custom-light: #9986d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6856bf",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 250.286,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.15827,
    "h": 287.5
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#6856BF
secondary
#C7CFA2
accent
#D553BF
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6856BF

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

Preview Lab → · Contrast checker → · Palette generator →

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