#6856E8#6856E8

#6856E8 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.211 H 282.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6856E8
RGBrgb(104, 86, 232)
HSLhsl(247, 76%, 62%)
HSVhsv(247, 63%, 91%)
CMYKcmyk(55.2%, 62.9%, 0%, 9%)
CIE-LABlab(46.21, 46.11, -71.74)
CIE-LCHlch(46.21, 85.29, 302.73°)
OKLaboklab(55.57% 0.0463 -0.2061)
OKLCHoklch(55.57% 0.211 282.7)
XYZxyz(23.5977, 15.4234, 78.0618)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856E8 #D6E856
analogous
#568DE8 #6856E8 #B156E8
triadic
#6856E8 #E86856 #56E868
tetradic
#6856E8 #E8568D #D6E856 #56E8B1
square
#6856E8 #E8568D #D6E856 #56E8B1
split-complementary
#6856E8 #E8B156 #8DE856
monochromatic
#2A17AC #3820E1 #6856E8 #988CEF #C8C2F7

Accessibility & contrast

On white

5.14
#6856E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6856E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856E8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856E8#FFFFFF#000000##FFFFFF
##6856E81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#297A97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6856e8;
/* rgb */ color: rgb(104, 86, 232);
/* oklch */ color: oklch(55.6% 0.211 282.7);
Tailwind
colors: {
  custom: {
    50: '#9e87f0',
    500: '#6856e8',
    950: '#000000',
  },
}
SCSS
$custom: #6856e8;
$custom-light: #9e87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6856e8",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 247.397,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.21127,
    "h": 282.7
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#6856E8
secondary
#E1E8B2
accent
#D80DBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856E8

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

Preview Lab → · Contrast checker → · Palette generator →

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