#6856BD#6856BD

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

Color values

HEX#6856BD
RGBrgb(104, 86, 189)
HSLhsl(250, 44%, 54%)
HSVhsv(250, 54%, 74%)
CMYKcmyk(45%, 54.5%, 0%, 25.9%)
CIE-LABlab(43.17, 33.25, -52.01)
CIE-LCHlch(43.17, 61.73, 302.59°)
OKLaboklab(52.37% 0.0476 -0.1481)
OKLCHoklch(52.37% 0.156 287.8)
XYZxyz(18.2194, 13.2720, 49.7360)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BD #ABBD56
analogous
#5678BD #6856BD #9C56BD
triadic
#6856BD #BD6856 #56BD68
tetradic
#6856BD #BD5678 #ABBD56 #56BD9C
square
#6856BD #BD5678 #ABBD56 #56BD9C
split-complementary
#6856BD #BD9C56 #78BD56
monochromatic
#372B6E #4C3C9A #6856BD #8F82CE #B7AEDF

Accessibility & contrast

On white

5.75
#6856BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6856BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BD#FFFFFF#000000##FFFFFF
##6856BD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#2163BB
Tritanopia (blue-blind)
#4E6C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6856bd;
/* rgb */ color: rgb(104, 86, 189);
/* oklch */ color: oklch(52.4% 0.156 287.8);
Tailwind
colors: {
  custom: {
    50: '#9886d1',
    500: '#6856bd',
    950: '#000000',
  },
}
SCSS
$custom: #6856bd;
$custom-light: #9886d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6856bd",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 250.485,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.15557,
    "h": 287.8
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#6856BD
secondary
#C6CDA1
accent
#D454BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6856BD

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

Preview Lab → · Contrast checker → · Palette generator →

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