#6846CF#6846CF

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

Color values

HEX#6846CF
RGBrgb(104, 70, 207)
HSLhsl(255, 59%, 54%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49.8%, 66.2%, 0%, 18.8%)
CIE-LABlab(40.94, 47.73, -66.06)
CIE-LCHlch(40.94, 81.50, 305.85°)
OKLaboklab(51.15% 0.0641 -0.1894)
OKLCHoklch(51.15% 0.2 288.7)
XYZxyz(19.1583, 11.8275, 60.2929)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846CF #ADCF46
analogous
#4668CF #6846CF #AD46CF
triadic
#6846CF #CF6846 #46CF68
tetradic
#6846CF #CF4668 #ADCF46 #46CFAD
square
#6846CF #CF4668 #ADCF46 #46CFAD
split-complementary
#6846CF #CFAD46 #68CF46
monochromatic
#36207B #4C2CAB #6846CF #9077DC #B7A7E8

Accessibility & contrast

On white

6.24
#6846CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6846CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846CF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846CF#FFFFFF#000000##FFFFFF
##6846CF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#446884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6846cf;
/* rgb */ color: rgb(104, 70, 207);
/* oklch */ color: oklch(51.1% 0.200 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c7cdf',
    500: '#6846cf',
    950: '#000000',
  },
}
SCSS
$custom: #6846cf;
$custom-light: #9c7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6846cf",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 254.891,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.19998,
    "h": 288.7
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#6846CF
secondary
#C7D59B
accent
#E246BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846CF

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

Preview Lab → · Contrast checker → · Palette generator →

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