#6846D6#6846D6

#6846D6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.208 H 287.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6846D6
RGBrgb(104, 70, 214)
HSLhsl(254, 64%, 56%)
HSVhsv(254, 67%, 84%)
CMYKcmyk(51.4%, 67.3%, 0%, 16.1%)
CIE-LABlab(41.50, 49.73, -69.18)
CIE-LCHlch(41.50, 85.20, 305.71°)
OKLaboklab(51.72% 0.0631 -0.1986)
OKLCHoklch(51.72% 0.208 287.6)
XYZxyz(20.0331, 12.1774, 64.9002)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846D6 #B4D646
analogous
#466CD6 #6846D6 #B046D6
triadic
#6846D6 #D66846 #46D668
tetradic
#6846D6 #D6466C #B4D646 #46D6B0
square
#6846D6 #D6466C #B4D646 #46D6B0
split-complementary
#6846D6 #D6B046 #6CD646
monochromatic
#361D84 #4A28B6 #6846D6 #9178E1 #BAAAEC

Accessibility & contrast

On white

6.11
#6846D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6846D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846D6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846D6#FFFFFF#000000##FFFFFF
##6846D61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#3E6A88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6846d6;
/* rgb */ color: rgb(104, 70, 214);
/* oklch */ color: oklch(51.7% 0.208 287.6);
Tailwind
colors: {
  custom: {
    50: '#9d7ce4',
    500: '#6846d6',
    950: '#000000',
  },
}
SCSS
$custom: #6846d6;
$custom-light: #9d7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6846d6",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 254.167,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.20839,
    "h": 287.6
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#6846D6
secondary
#CCDA9E
accent
#E741C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6846D6

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

Preview Lab → · Contrast checker → · Palette generator →

#6846D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva