#6856F7#6856F7

#6856F7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.8% C 0.230 H 281.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6856F7
RGBrgb(104, 86, 247)
HSLhsl(247, 91%, 65%)
HSVhsv(247, 65%, 97%)
CMYKcmyk(57.9%, 65.2%, 0%, 3.1%)
CIE-LABlab(47.38, 50.63, -78.26)
CIE-LCHlch(47.38, 93.20, 302.90°)
OKLaboklab(56.78% 0.0448 -0.2252)
OKLCHoklch(56.78% 0.23 281.3)
XYZxyz(25.8200, 16.3123, 89.7656)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856F7 #E5F756
analogous
#5694F7 #6856F7 #B856F7
triadic
#6856F7 #F76856 #56F768
tetradic
#6856F7 #F75694 #E5F756 #56F7B8
square
#6856F7 #F75694 #E5F756 #56F7B8
split-complementary
#6856F7 #F7B856 #94F756
monochromatic
#1F0AC9 #341CF4 #6856F7 #9C90FA #D0CBFD

Accessibility & contrast

On white

4.93
#6856F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6856F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856F7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856F7#FFFFFF#000000##FFFFFF
##6856F71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#017F9F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6856f7;
/* rgb */ color: rgb(104, 86, 247);
/* oklch */ color: oklch(56.8% 0.230 281.3);
Tailwind
colors: {
  custom: {
    50: '#a087fb',
    500: '#6856f7',
    950: '#000000',
  },
}
SCSS
$custom: #6856f7;
$custom-light: #a087fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6856f7",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 246.708,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.22966,
    "h": 281.3
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#6856F7
secondary
#E9F0B9
accent
#E600CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6856F7

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

Preview Lab → · Contrast checker → · Palette generator →

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