#6851DA#6851DA

#6851DA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.200 H 285.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6851DA
RGBrgb(104, 81, 218)
HSLhsl(250, 65%, 59%)
HSVhsv(250, 63%, 85%)
CMYKcmyk(52.3%, 62.8%, 0%, 14.5%)
CIE-LABlab(44.07, 44.78, -67.27)
CIE-LCHlch(44.07, 80.82, 303.65°)
OKLaboklab(53.68% 0.0522 -0.193)
OKLCHoklch(53.68% 0.2 285.1)
XYZxyz(21.3024, 13.8887, 67.8744)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851DA #C3DA51
analogous
#517EDA #6851DA #AC51DA
triadic
#6851DA #DA6851 #51DA68
tetradic
#6851DA #DA517E #C3DA51 #51DAAC
square
#6851DA #DA517E #C3DA51 #51DAAC
split-complementary
#6851DA #DAAC51 #7EDA51
monochromatic
#321F92 #442AC4 #6851DA #9483E5 #C0B6EF

Accessibility & contrast

On white

5.56
#6851DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6851DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851DA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851DA#FFFFFF#000000##FFFFFF
##6851DA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#3A728E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6851da;
/* rgb */ color: rgb(104, 81, 218);
/* oklch */ color: oklch(53.7% 0.200 285.1);
Tailwind
colors: {
  custom: {
    50: '#9c83e6',
    500: '#6851da',
    950: '#000000',
  },
}
SCSS
$custom: #6851da;
$custom-light: #9c83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6851da",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 250.073,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.19994,
    "h": 285.1
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#6851DA
secondary
#D5DEA8
accent
#E840CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851DA

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

Preview Lab → · Contrast checker → · Palette generator →

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