#6856FB#6856FB

#6856FB is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 57.1% C 0.234 H 280.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6856FB
RGBrgb(104, 86, 251)
HSLhsl(247, 95%, 66%)
HSVhsv(247, 66%, 98%)
CMYKcmyk(58.6%, 65.7%, 0%, 1.6%)
CIE-LABlab(47.70, 51.83, -79.96)
CIE-LCHlch(47.70, 95.29, 302.95°)
OKLaboklab(57.11% 0.0443 -0.2302)
OKLCHoklch(57.11% 0.234 280.9)
XYZxyz(26.4438, 16.5618, 93.0514)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856FB #E9FB56
analogous
#5696FB #6856FB #BA56FB
triadic
#6856FB #FB6856 #56FB68
tetradic
#6856FB #FB5696 #E9FB56 #56FBBA
square
#6856FB #FB5696 #E9FB56 #56FBBA
split-complementary
#6856FB #FBBA56 #96FB56
monochromatic
#1B05D2 #331AFA #6856FB #9D92FC #D3CEFE

Accessibility & contrast

On white

4.87
#6856FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6856FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856FB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856FB#FFFFFF#000000##FFFFFF
##6856FB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006BF8
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6856fb;
/* rgb */ color: rgb(104, 86, 251);
/* oklch */ color: oklch(57.1% 0.234 280.9);
Tailwind
colors: {
  custom: {
    50: '#a187fe',
    500: '#6856fb',
    950: '#000000',
  },
}
SCSS
$custom: #6856fb;
$custom-light: #a187fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6856fb",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 246.545,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.23448,
    "h": 280.9
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6856FB

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

Preview Lab → · Contrast checker → · Palette generator →

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