#6846CD#6846CD

#6846CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.198 H 289.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6846CD
RGBrgb(104, 70, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.3%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.78, 47.16, -65.16)
CIE-LCHlch(40.78, 80.44, 305.89°)
OKLaboklab(50.99% 0.0643 -0.1868)
OKLCHoklch(50.99% 0.198 289)
XYZxyz(18.9153, 11.7303, 59.0133)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846CD #ABCD46
analogous
#4668CD #6846CD #AC46CD
triadic
#6846CD #CD6846 #46CD68
tetradic
#6846CD #CD4668 #ABCD46 #46CDAC
square
#6846CD #CD4668 #ABCD46 #46CDAC
split-complementary
#6846CD #CDAC46 #68CD46
monochromatic
#372078 #4C2DA8 #6846CD #8F76DA #B7A6E7

Accessibility & contrast

On white

6.28
#6846CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6846CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846CD#FFFFFF#000000##FFFFFF
##6846CD1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#456783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6846cd;
/* rgb */ color: rgb(104, 70, 205);
/* oklch */ color: oklch(51.0% 0.198 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b7cdd',
    500: '#6846cd',
    950: '#000000',
  },
}
SCSS
$custom: #6846cd;
$custom-light: #9b7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6846cd",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 255.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.19757,
    "h": 289
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#6846CD
secondary
#C6D49B
accent
#E147BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846CD

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

Preview Lab → · Contrast checker → · Palette generator →

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