#6846DD#6846DD

#6846DD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.217 H 286.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6846DD
RGBrgb(104, 70, 221)
HSLhsl(254, 69%, 57%)
HSVhsv(254, 68%, 87%)
CMYKcmyk(52.9%, 68.3%, 0%, 13.3%)
CIE-LABlab(42.07, 51.73, -72.26)
CIE-LCHlch(42.07, 88.87, 305.60°)
OKLaboklab(52.31% 0.062 -0.2076)
OKLCHoklch(52.31% 0.217 286.6)
XYZxyz(20.9463, 12.5427, 69.7099)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846DD #BBDD46
analogous
#4670DD #6846DD #B446DD
triadic
#6846DD #DD6846 #46DD68
tetradic
#6846DD #DD4670 #BBDD46 #46DDB4
square
#6846DD #DD4670 #BBDD46 #46DDB4
split-complementary
#6846DD #DDB446 #70DD46
monochromatic
#341A8E #4724C2 #6846DD #927AE7 #BCADF0

Accessibility & contrast

On white

5.98
#6846DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6846DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846DD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846DD#FFFFFF#000000##FFFFFF
##6846DD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#386D8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6846dd;
/* rgb */ color: rgb(104, 70, 221);
/* oklch */ color: oklch(52.3% 0.217 286.6);
Tailwind
colors: {
  custom: {
    50: '#9e7ce9',
    500: '#6846dd',
    950: '#000000',
  },
}
SCSS
$custom: #6846dd;
$custom-light: #9e7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6846dd",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 253.51,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.2167,
    "h": 286.6
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#6846DD
secondary
#D0DEA1
accent
#EC3CC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6846DD

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

Preview Lab → · Contrast checker → · Palette generator →

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