#6846CE#6846CE

#6846CE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.199 H 288.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6846CE
RGBrgb(104, 70, 206)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49.5%, 66%, 0%, 19.2%)
CIE-LABlab(40.86, 47.44, -65.61)
CIE-LCHlch(40.86, 80.97, 305.87°)
OKLaboklab(51.07% 0.0642 -0.1881)
OKLCHoklch(51.07% 0.199 288.8)
XYZxyz(19.0364, 11.7788, 59.6510)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846CE #ACCE46
analogous
#4668CE #6846CE #AC46CE
triadic
#6846CE #CE6846 #46CE68
tetradic
#6846CE #CE4668 #ACCE46 #46CEAC
square
#6846CE #CE4668 #ACCE46 #46CEAC
split-complementary
#6846CE #CEAC46 #68CE46
monochromatic
#362079 #4C2DAA #6846CE #8F76DB #B7A7E8

Accessibility & contrast

On white

6.26
#6846CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6846CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846CE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846CE#FFFFFF#000000##FFFFFF
##6846CE1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#456884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6846ce;
/* rgb */ color: rgb(104, 70, 206);
/* oklch */ color: oklch(51.1% 0.199 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c7cde',
    500: '#6846ce',
    950: '#000000',
  },
}
SCSS
$custom: #6846ce;
$custom-light: #9c7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6846ce",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 255,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.19877,
    "h": 288.8
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#6846CE
secondary
#C6D59B
accent
#E146BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846CE

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

Preview Lab → · Contrast checker → · Palette generator →

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