#6856BC#6856BC

#6856BC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.3% C 0.154 H 288.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6856BC
RGBrgb(104, 86, 188)
HSLhsl(251, 43%, 54%)
HSVhsv(251, 54%, 74%)
CMYKcmyk(44.7%, 54.3%, 0%, 26.3%)
CIE-LABlab(43.11, 32.95, -51.53)
CIE-LCHlch(43.11, 61.17, 302.60°)
OKLaboklab(52.31% 0.0476 -0.1467)
OKLCHoklch(52.31% 0.154 288)
XYZxyz(18.1112, 13.2288, 49.1663)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856BC #AABC56
analogous
#5677BC #6856BC #9B56BC
triadic
#6856BC #BC6856 #56BC68
tetradic
#6856BC #BC5677 #AABC56 #56BC9B
square
#6856BC #BC5677 #AABC56 #56BC9B
split-complementary
#6856BC #BC9B56 #77BC56
monochromatic
#372B6D #4D3C98 #6856BC #8F82CD #B6AEDF

Accessibility & contrast

On white

5.76
#6856BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6856BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856BC#FFFFFF#000000##FFFFFF
##6856BC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#4E6C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6856bc;
/* rgb */ color: rgb(104, 86, 188);
/* oklch */ color: oklch(52.3% 0.154 288.0);
Tailwind
colors: {
  custom: {
    50: '#9886d1',
    500: '#6856bc',
    950: '#000000',
  },
}
SCSS
$custom: #6856bc;
$custom-light: #9886d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6856bc",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 250.588,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.15422,
    "h": 288
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#6856BC
secondary
#C5CDA1
accent
#D355BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6856BC

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

Preview Lab → · Contrast checker → · Palette generator →

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