#6846DE#6846DE

#6846DE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.218 H 286.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6846DE
RGBrgb(104, 70, 222)
HSLhsl(253, 70%, 57%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(53.2%, 68.5%, 0%, 12.9%)
CIE-LABlab(42.15, 52.02, -72.70)
CIE-LCHlch(42.15, 89.39, 305.58°)
OKLaboklab(52.39% 0.0618 -0.2089)
OKLCHoklch(52.39% 0.218 286.5)
XYZxyz(21.0800, 12.5962, 70.4136)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846DE #BCDE46
analogous
#4670DE #6846DE #B446DE
triadic
#6846DE #DE6846 #46DE68
tetradic
#6846DE #DE4670 #BCDE46 #46DEB4
square
#6846DE #DE4670 #BCDE46 #46DEB4
split-complementary
#6846DE #DEB446 #70DE46
monochromatic
#341A90 #4723C4 #6846DE #927AE7 #BDAEF1

Accessibility & contrast

On white

5.97
#6846DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6846DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846DE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846DE#FFFFFF#000000##FFFFFF
##6846DE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#376D8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6846de;
/* rgb */ color: rgb(104, 70, 222);
/* oklch */ color: oklch(52.4% 0.218 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e7ce9',
    500: '#6846de',
    950: '#000000',
  },
}
SCSS
$custom: #6846de;
$custom-light: #9e7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6846de",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 253.421,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.21788,
    "h": 286.5
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#6846DE
secondary
#D1DFA1
accent
#ED3BC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6846DE

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

Preview Lab → · Contrast checker → · Palette generator →

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