#6851CD#6851CD

#6851CD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.184 H 286.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6851CD
RGBrgb(104, 81, 205)
HSLhsl(251, 55%, 56%)
HSVhsv(251, 60%, 80%)
CMYKcmyk(49.3%, 60.5%, 0%, 19.6%)
CIE-LABlab(43.11, 40.93, -61.37)
CIE-LCHlch(43.11, 73.77, 303.70°)
OKLaboklab(52.68% 0.0531 -0.1756)
OKLCHoklch(52.68% 0.184 286.8)
XYZxyz(19.6676, 13.2348, 59.2640)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851CD #B6CD51
analogous
#5178CD #6851CD #A651CD
triadic
#6851CD #CD6851 #51CD68
tetradic
#6851CD #CD5178 #B6CD51 #51CDA6
square
#6851CD #CD5178 #B6CD51 #51CDA6
split-complementary
#6851CD #CDA651 #78CD51
monochromatic
#35257F #4932AF #6851CD #9181DB #BBB0E8

Accessibility & contrast

On white

5.76
#6851CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6851CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851CD#FFFFFF#000000##FFFFFF
##6851CD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#446E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6851cd;
/* rgb */ color: rgb(104, 81, 205);
/* oklch */ color: oklch(52.7% 0.184 286.8);
Tailwind
colors: {
  custom: {
    50: '#9b83dd',
    500: '#6851cd',
    950: '#000000',
  },
}
SCSS
$custom: #6851cd;
$custom-light: #9b83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6851cd",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 251.129,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.18351,
    "h": 286.8
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#6851CD
secondary
#CDD7A3
accent
#DF49C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6851CD

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

Preview Lab → · Contrast checker → · Palette generator →

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