#6856BA#6856BA

#6856BA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.2% C 0.151 H 288.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6856BA
RGBrgb(104, 86, 186)
HSLhsl(251, 42%, 53%)
HSVhsv(251, 54%, 73%)
CMYKcmyk(44.1%, 53.8%, 0%, 27.1%)
CIE-LABlab(42.98, 32.37, -50.57)
CIE-LCHlch(42.98, 60.04, 302.62°)
OKLaboklab(52.17% 0.0475 -0.1439)
OKLCHoklch(52.17% 0.152 288.3)
XYZxyz(17.8971, 13.1431, 48.0387)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BA #A8BA56
analogous
#5676BA #6856BA #9A56BA
triadic
#6856BA #BA6856 #56BA68
tetradic
#6856BA #BA5676 #A8BA56 #56BA9A
square
#6856BA #BA5676 #A8BA56 #56BA9A
split-complementary
#6856BA #BA9A56 #76BA56
monochromatic
#372B6A #4D3D96 #6856BA #8F81CC #B6ADDD

Accessibility & contrast

On white

5.79
#6856BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6856BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856BA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BA#FFFFFF#000000##FFFFFF
##6856BA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#4F6B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6856ba;
/* rgb */ color: rgb(104, 86, 186);
/* oklch */ color: oklch(52.2% 0.151 288.3);
Tailwind
colors: {
  custom: {
    50: '#9886cf',
    500: '#6856ba',
    950: '#000000',
  },
}
SCSS
$custom: #6856ba;
$custom-light: #9886cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ba",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 250.8,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.1515,
    "h": 288.3
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#6856BA
secondary
#C4CBA0
accent
#D256BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6856BA

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

Preview Lab → · Contrast checker → · Palette generator →

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