#6857EA#6857EA

#6857EA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.213 H 282.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6857EA
RGBrgb(104, 87, 234)
HSLhsl(247, 78%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.6%, 62.8%, 0%, 8.2%)
CIE-LABlab(46.58, 46.14, -72.27)
CIE-LCHlch(46.58, 85.75, 302.56°)
OKLaboklab(55.88% 0.0453 -0.2077)
OKLCHoklch(55.88% 0.213 282.3)
XYZxyz(23.9638, 15.6985, 79.5933)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857EA #D9EA57
analogous
#578FEA #6857EA #B257EA
triadic
#6857EA #EA6857 #57EA68
tetradic
#6857EA #EA578F #D9EA57 #57EAB2
square
#6857EA #EA578F #D9EA57 #57EAB2
split-complementary
#6857EA #EAB257 #8FEA57
monochromatic
#2816B1 #3721E3 #6857EA #998DF1 #CAC4F8

Accessibility & contrast

On white

5.07
#6857EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6857EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857EA#FFFFFF#000000##FFFFFF
##6857EA1.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)
#0073EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#267B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6857ea;
/* rgb */ color: rgb(104, 87, 234);
/* oklch */ color: oklch(55.9% 0.213 282.3);
Tailwind
colors: {
  custom: {
    50: '#9e87f2',
    500: '#6857ea',
    950: '#000000',
  },
}
SCSS
$custom: #6857ea;
$custom-light: #9e87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6857ea",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 246.939,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.21255,
    "h": 282.3
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#6857EA
secondary
#E3E9B4
accent
#DA0BC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6857EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6857EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva