#6856ED#6856ED

#6856ED is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.0% C 0.217 H 282.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6856ED
RGBrgb(104, 86, 237)
HSLhsl(247, 81%, 63%)
HSVhsv(247, 64%, 93%)
CMYKcmyk(56.1%, 63.7%, 0%, 7.1%)
CIE-LABlab(46.59, 47.62, -73.94)
CIE-LCHlch(46.59, 87.94, 302.78°)
OKLaboklab(55.97% 0.0459 -0.2126)
OKLCHoklch(55.97% 0.217 282.2)
XYZxyz(24.3180, 15.7115, 81.8555)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856ED #DBED56
analogous
#568FED #6856ED #B356ED
triadic
#6856ED #ED6856 #56ED68
tetradic
#6856ED #ED568F #DBED56 #56EDB3
square
#6856ED #ED568F #DBED56 #56EDB3
split-complementary
#6856ED #EDB356 #8FED56
monochromatic
#2713B5 #371FE7 #6856ED #998DF3 #CBC5F9

Accessibility & contrast

On white

5.07
#6856ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6856ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856ED#FFFFFF#000000##FFFFFF
##6856ED1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#217C9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6856ed;
/* rgb */ color: rgb(104, 86, 237);
/* oklch */ color: oklch(56.0% 0.217 282.2);
Tailwind
colors: {
  custom: {
    50: '#9f87f4',
    500: '#6856ed',
    950: '#000000',
  },
}
SCSS
$custom: #6856ed;
$custom-light: #9f87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ed",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 247.152,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.21745,
    "h": 282.2
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#6856ED
secondary
#E4EAB4
accent
#DD08C4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856ED

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

Preview Lab → · Contrast checker → · Palette generator →

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