#6856EA#6856EA

#6856EA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.214 H 282.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6856EA
RGBrgb(104, 86, 234)
HSLhsl(247, 78%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.6%, 63.2%, 0%, 8.2%)
CIE-LABlab(46.36, 46.72, -72.62)
CIE-LCHlch(46.36, 86.35, 302.75°)
OKLaboklab(55.73% 0.0461 -0.2087)
OKLCHoklch(55.73% 0.214 282.5)
XYZxyz(23.8834, 15.5377, 79.5665)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856EA #D8EA56
analogous
#568EEA #6856EA #B256EA
triadic
#6856EA #EA6856 #56EA68
tetradic
#6856EA #EA568E #D8EA56 #56EAB2
square
#6856EA #EA568E #D8EA56 #56EAB2
split-complementary
#6856EA #EAB256 #8EEA56
monochromatic
#2916B0 #3720E3 #6856EA #998CF1 #C9C3F8

Accessibility & contrast

On white

5.11
#6856EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6856EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856EA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856EA#FFFFFF#000000##FFFFFF
##6856EA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#267B98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6856ea;
/* rgb */ color: rgb(104, 86, 234);
/* oklch */ color: oklch(55.7% 0.214 282.5);
Tailwind
colors: {
  custom: {
    50: '#9e87f2',
    500: '#6856ea',
    950: '#000000',
  },
}
SCSS
$custom: #6856ea;
$custom-light: #9e87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ea",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 247.297,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.21375,
    "h": 282.5
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#6856EA
secondary
#E2E9B3
accent
#DA0BC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856EA

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

Preview Lab → · Contrast checker → · Palette generator →

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