#6857BB#6857BB

#6857BB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.4% C 0.151 H 287.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6857BB
RGBrgb(104, 87, 187)
HSLhsl(250, 42%, 54%)
HSVhsv(250, 53%, 73%)
CMYKcmyk(44.4%, 53.5%, 0%, 26.7%)
CIE-LABlab(43.28, 32.06, -50.67)
CIE-LCHlch(43.28, 59.96, 302.32°)
OKLaboklab(52.41% 0.0463 -0.1441)
OKLCHoklch(52.41% 0.151 287.8)
XYZxyz(18.0842, 13.3466, 48.6274)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857BB #AABB57
analogous
#5778BB #6857BB #9A57BB
triadic
#6857BB #BB6857 #57BB68
tetradic
#6857BB #BB5778 #AABB57 #57BB9A
square
#6857BB #BB5778 #AABB57 #57BB9A
split-complementary
#6857BB #BB9A57 #78BB57
monochromatic
#372C6C #4D3D97 #6857BB #8F83CD #B6AEDE

Accessibility & contrast

On white

5.72
#6857BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6857BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857BB#FFFFFF#000000##FFFFFF
##6857BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BE
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#4F6C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6857bb;
/* rgb */ color: rgb(104, 87, 187);
/* oklch */ color: oklch(52.4% 0.151 287.8);
Tailwind
colors: {
  custom: {
    50: '#9887d0',
    500: '#6857bb',
    950: '#000000',
  },
}
SCSS
$custom: #6857bb;
$custom-light: #9887d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6857bb",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 250.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.15142,
    "h": 287.8
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#6857BB
secondary
#C5CCA2
accent
#D256BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6857BB

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

Preview Lab → · Contrast checker → · Palette generator →

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