#6856BB#6856BB

#6856BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.2% C 0.153 H 288.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6856BB
RGBrgb(104, 86, 187)
HSLhsl(251, 43%, 54%)
HSVhsv(251, 54%, 73%)
CMYKcmyk(44.4%, 54%, 0%, 26.7%)
CIE-LABlab(43.04, 32.66, -51.05)
CIE-LCHlch(43.04, 60.60, 302.61°)
OKLaboklab(52.24% 0.0476 -0.1453)
OKLCHoklch(52.24% 0.153 288.1)
XYZxyz(18.0038, 13.1858, 48.6006)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BB #A9BB56
analogous
#5676BB #6856BB #9A56BB
triadic
#6856BB #BB6856 #56BB68
tetradic
#6856BB #BB5676 #A9BB56 #56BB9A
square
#6856BB #BB5676 #A9BB56 #56BB9A
split-complementary
#6856BB #BB9A56 #76BB56
monochromatic
#372B6B #4D3D97 #6856BB #8F82CD #B6ADDE

Accessibility & contrast

On white

5.77
#6856BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6856BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856BB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BB#FFFFFF#000000##FFFFFF
##6856BB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#4F6C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6856bb;
/* rgb */ color: rgb(104, 86, 187);
/* oklch */ color: oklch(52.2% 0.153 288.1);
Tailwind
colors: {
  custom: {
    50: '#9886d0',
    500: '#6856bb',
    950: '#000000',
  },
}
SCSS
$custom: #6856bb;
$custom-light: #9886d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6856bb",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 250.693,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.15286,
    "h": 288.1
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#6856BB
secondary
#C4CCA1
accent
#D255BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6856BB

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

Preview Lab → · Contrast checker → · Palette generator →

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