#6857AF#6857AF

#6857AF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.6% C 0.135 H 289.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6857AF
RGBrgb(104, 87, 175)
HSLhsl(252, 35%, 51%)
HSVhsv(252, 50%, 69%)
CMYKcmyk(40.6%, 50.3%, 0%, 31.4%)
CIE-LABlab(42.54, 28.56, -44.82)
CIE-LCHlch(42.54, 53.14, 302.51°)
OKLaboklab(51.63% 0.0455 -0.127)
OKLCHoklch(51.63% 0.135 289.7)
XYZxyz(16.8529, 12.8541, 42.1423)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857AF #9EAF57
analogous
#5772AF #6857AF #9457AF
triadic
#6857AF #AF6857 #57AF68
tetradic
#6857AF #AF5772 #9EAF57 #57AF94
square
#6857AF #AF5772 #9EAF57 #57AF94
split-complementary
#6857AF #AF9457 #72AF57
monochromatic
#372D5F #4F4188 #6857AF #8D80C3 #B3AAD6

Accessibility & contrast

On white

5.88
#6857AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6857AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857AF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857AF#FFFFFF#000000##FFFFFF
##6857AF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#3562AD
Tritanopia (blue-blind)
#55697B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6857af;
/* rgb */ color: rgb(104, 87, 175);
/* oklch */ color: oklch(51.6% 0.135 289.7);
Tailwind
colors: {
  custom: {
    50: '#9786c7',
    500: '#6857af',
    950: '#000000',
  },
}
SCSS
$custom: #6857af;
$custom-light: #9786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6857af",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 251.591,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.13488,
    "h": 289.7
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#6857AF
secondary
#BDC49E
accent
#CC5CB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6857AF

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

Preview Lab → · Contrast checker → · Palette generator →

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