#6856E5#6856E5

#6856E5 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.208 H 283.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6856E5
RGBrgb(104, 86, 229)
HSLhsl(248, 73%, 62%)
HSVhsv(248, 62%, 90%)
CMYKcmyk(54.6%, 62.4%, 0%, 10.2%)
CIE-LABlab(45.98, 45.21, -70.42)
CIE-LCHlch(45.98, 83.68, 302.70°)
OKLaboklab(55.33% 0.0466 -0.2022)
OKLCHoklch(55.33% 0.208 283)
XYZxyz(23.1752, 15.2544, 75.8367)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856E5 #D3E556
analogous
#568CE5 #6856E5 #AF56E5
triadic
#6856E5 #E56856 #56E568
tetradic
#6856E5 #E5568C #D3E556 #56E5AF
square
#6856E5 #E5568C #D3E556 #56E5AF
split-complementary
#6856E5 #E5AF56 #8CE556
monochromatic
#2B1AA7 #3922DC #6856E5 #978BED #C7C0F5

Accessibility & contrast

On white

5.18
#6856E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6856E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856E5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856E5#FFFFFF#000000##FFFFFF
##6856E51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#2D7996
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6856e5;
/* rgb */ color: rgb(104, 86, 229);
/* oklch */ color: oklch(55.3% 0.208 283.0);
Tailwind
colors: {
  custom: {
    50: '#9e87ee',
    500: '#6856e5',
    950: '#000000',
  },
}
SCSS
$custom: #6856e5;
$custom-light: #9e87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6856e5",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 247.552,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.20753,
    "h": 283
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#6856E5
secondary
#DFE6B1
accent
#D510BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6856E5

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

Preview Lab → · Contrast checker → · Palette generator →

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