#6851DB#6851DB

#6851DB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.8% C 0.201 H 285.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6851DB
RGBrgb(104, 81, 219)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.5%, 63%, 0%, 14.1%)
CIE-LABlab(44.15, 45.08, -67.72)
CIE-LCHlch(44.15, 81.35, 303.65°)
OKLaboklab(53.76% 0.0521 -0.1943)
OKLCHoklch(53.76% 0.201 285)
XYZxyz(21.4337, 13.9412, 68.5656)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851DB #C4DB51
analogous
#517FDB #6851DB #AD51DB
triadic
#6851DB #DB6851 #51DB68
tetradic
#6851DB #DB517F #C4DB51 #51DBAD
square
#6851DB #DB517F #C4DB51 #51DBAD
split-complementary
#6851DB #DBAD51 #7FDB51
monochromatic
#321E93 #4329C6 #6851DB #9484E5 #C0B6F0

Accessibility & contrast

On white

5.54
#6851DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6851DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851DB#FFFFFF#000000##FFFFFF
##6851DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#39738F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6851db;
/* rgb */ color: rgb(104, 81, 219);
/* oklch */ color: oklch(53.8% 0.201 285.0);
Tailwind
colors: {
  custom: {
    50: '#9d83e7',
    500: '#6851db',
    950: '#000000',
  },
}
SCSS
$custom: #6851db;
$custom-light: #9d83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6851db",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 250,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.20119,
    "h": 285
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#6851DB
secondary
#D6DFA9
accent
#E93FCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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