#6846DF#6846DF

#6846DF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.219 H 286.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6846DF
RGBrgb(104, 70, 223)
HSLhsl(253, 71%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(53.4%, 68.6%, 0%, 12.5%)
CIE-LABlab(42.23, 52.30, -73.13)
CIE-LCHlch(42.23, 89.91, 305.57°)
OKLaboklab(52.47% 0.0616 -0.2102)
OKLCHoklch(52.47% 0.219 286.3)
XYZxyz(21.2144, 12.6500, 71.1216)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846DF #BDDF46
analogous
#4671DF #6846DF #B446DF
triadic
#6846DF #DF6846 #46DF68
tetradic
#6846DF #DF4671 #BDDF46 #46DFB4
square
#6846DF #DF4671 #BDDF46 #46DFB4
split-complementary
#6846DF #DFB446 #71DF46
monochromatic
#341991 #4722C6 #6846DF #937AE8 #BDAEF1

Accessibility & contrast

On white

5.95
#6846DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6846DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846DF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846DF#FFFFFF#000000##FFFFFF
##6846DF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#366E8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6846df;
/* rgb */ color: rgb(104, 70, 223);
/* oklch */ color: oklch(52.5% 0.219 286.3);
Tailwind
colors: {
  custom: {
    50: '#9e7cea',
    500: '#6846df',
    950: '#000000',
  },
}
SCSS
$custom: #6846df;
$custom-light: #9e7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6846df",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 253.333,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.21905,
    "h": 286.3
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#6846DF
secondary
#D2DFA2
accent
#ED3BC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6846DF

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

Preview Lab → · Contrast checker → · Palette generator →

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