#6856DF#6856DF

#6856DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.9% C 0.200 H 283.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6856DF
RGBrgb(104, 86, 223)
HSLhsl(248, 68%, 61%)
HSVhsv(248, 61%, 87%)
CMYKcmyk(53.4%, 61.4%, 0%, 12.5%)
CIE-LABlab(45.53, 43.40, -67.75)
CIE-LCHlch(45.53, 80.46, 302.64°)
OKLaboklab(54.86% 0.047 -0.1944)
OKLCHoklch(54.86% 0.2 283.6)
XYZxyz(22.3519, 14.9251, 71.5008)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856DF #CDDF56
analogous
#5688DF #6856DF #AC56DF
triadic
#6856DF #DF6856 #56DF68
tetradic
#6856DF #DF5688 #CDDF56 #56DFAC
square
#6856DF #DF5688 #CDDF56 #56DFAC
split-complementary
#6856DF #DFAC56 #88DF56
monochromatic
#2E1E9D #3E27D0 #6856DF #9689E9 #C4BDF2

Accessibility & contrast

On white

5.27
#6856DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6856DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856DF#FFFFFF#000000##FFFFFF
##6856DF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#347792
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6856df;
/* rgb */ color: rgb(104, 86, 223);
/* oklch */ color: oklch(54.9% 0.200 283.6);
Tailwind
colors: {
  custom: {
    50: '#9d86ea',
    500: '#6856df',
    950: '#000000',
  },
}
SCSS
$custom: #6856df;
$custom-light: #9d86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6856df",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 247.883,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.19999,
    "h": 283.6
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#6856DF
secondary
#DCE2AE
accent
#D015B8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6856DF

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

Preview Lab → · Contrast checker → · Palette generator →

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