#6857DA#6857DA

#6857DA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.192 H 283.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6857DA
RGBrgb(104, 87, 218)
HSLhsl(248, 64%, 60%)
HSVhsv(248, 60%, 85%)
CMYKcmyk(52.3%, 60.1%, 0%, 14.5%)
CIE-LABlab(45.39, 41.31, -65.14)
CIE-LCHlch(45.39, 77.14, 302.38°)
OKLaboklab(54.64% 0.0463 -0.1867)
OKLCHoklch(54.64% 0.192 283.9)
XYZxyz(21.7682, 14.8202, 68.0296)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857DA #C9DA57
analogous
#5788DA #6857DA #A957DA
triadic
#6857DA #DA6857 #57DA68
tetradic
#6857DA #DA5788 #C9DA57 #57DAA9
square
#6857DA #DA5788 #C9DA57 #57DAA9
split-complementary
#6857DA #DAA957 #88DA57
monochromatic
#302196 #402CC8 #6857DA #9589E5 #C2BBF0

Accessibility & contrast

On white

5.30
#6857DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6857DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857DA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857DA#FFFFFF#000000##FFFFFF
##6857DA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#397690
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6857da;
/* rgb */ color: rgb(104, 87, 218);
/* oklch */ color: oklch(54.6% 0.192 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c87e6',
    500: '#6857da',
    950: '#000000',
  },
}
SCSS
$custom: #6857da;
$custom-light: #9c87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6857da",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 247.786,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.19237,
    "h": 283.9
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#6857DA
secondary
#D9E0AD
accent
#E741D1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857DA

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

Preview Lab → · Contrast checker → · Palette generator →

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