#6851BC#6851BC

#6851BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.161 H 289.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6851BC
RGBrgb(104, 81, 188)
HSLhsl(253, 44%, 53%)
HSVhsv(253, 57%, 74%)
CMYKcmyk(44.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(41.94, 35.95, -53.42)
CIE-LCHlch(41.94, 64.39, 303.94°)
OKLaboklab(51.44% 0.0535 -0.1522)
OKLCHoklch(51.44% 0.161 289.4)
XYZxyz(17.7259, 12.4581, 49.0379)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851BC #A5BC51
analogous
#5170BC #6851BC #9D51BC
triadic
#6851BC #BC6851 #51BC68
tetradic
#6851BC #BC5170 #A5BC51 #51BC9D
square
#6851BC #BC5170 #A5BC51 #51BC9D
split-complementary
#6851BC #BC9D51 #70BC51
monochromatic
#37296A #4E3A96 #6851BC #8E7DCD #B5A9DE

Accessibility & contrast

On white

6.01
#6851BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6851BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851BC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851BC#FFFFFF#000000##FFFFFF
##6851BC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65C0
Deuteranopia (green-blind)
#1460BA
Tritanopia (blue-blind)
#4F697E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6851bc;
/* rgb */ color: rgb(104, 81, 188);
/* oklch */ color: oklch(51.4% 0.161 289.4);
Tailwind
colors: {
  custom: {
    50: '#9982d1',
    500: '#6851bc',
    950: '#000000',
  },
}
SCSS
$custom: #6851bc;
$custom-light: #9982d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6851bc",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 252.897,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.16139,
    "h": 289.4
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#6851BC
secondary
#C2CC9D
accent
#D454B9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6851BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6851BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva