#6856EC#6856EC

#6856EC is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.216 H 282.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6856EC
RGBrgb(104, 86, 236)
HSLhsl(247, 80%, 63%)
HSVhsv(247, 64%, 93%)
CMYKcmyk(55.9%, 63.6%, 0%, 7.5%)
CIE-LABlab(46.52, 47.32, -73.50)
CIE-LCHlch(46.52, 87.41, 302.77°)
OKLaboklab(55.89% 0.046 -0.2113)
OKLCHoklch(55.89% 0.216 282.3)
XYZxyz(24.1723, 15.6532, 81.0882)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856EC #DAEC56
analogous
#568FEC #6856EC #B356EC
triadic
#6856EC #EC6856 #56EC68
tetradic
#6856EC #EC568F #DAEC56 #56ECB3
square
#6856EC #EC568F #DAEC56 #56ECB3
split-complementary
#6856EC #ECB356 #8FEC56
monochromatic
#2714B3 #371FE6 #6856EC #998DF2 #CAC4F8

Accessibility & contrast

On white

5.08
#6856EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6856EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856EC#FFFFFF#000000##FFFFFF
##6856EC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#237B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6856ec;
/* rgb */ color: rgb(104, 86, 236);
/* oklch */ color: oklch(55.9% 0.216 282.3);
Tailwind
colors: {
  custom: {
    50: '#9f87f3',
    500: '#6856ec',
    950: '#000000',
  },
}
SCSS
$custom: #6856ec;
$custom-light: #9f87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ec",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 247.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.21622,
    "h": 282.3
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#6856EC
secondary
#E3EAB4
accent
#DC09C3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856EC

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

Preview Lab → · Contrast checker → · Palette generator →

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