#6847DD#6847DD

#6847DD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.216 H 286.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6847DD
RGBrgb(104, 71, 221)
HSLhsl(253, 69%, 57%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(52.9%, 67.9%, 0%, 13.3%)
CIE-LABlab(42.26, 51.20, -71.94)
CIE-LCHlch(42.26, 88.30, 305.44°)
OKLaboklab(52.44% 0.0611 -0.2067)
OKLCHoklch(52.44% 0.216 286.5)
XYZxyz(21.0094, 12.6689, 69.7309)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847DD #BCDD47
analogous
#4771DD #6847DD #B347DD
triadic
#6847DD #DD6847 #47DD68
tetradic
#6847DD #DD4771 #BCDD47 #47DDB3
square
#6847DD #DD4771 #BCDD47 #47DDB3
split-complementary
#6847DD #DDB347 #71DD47
monochromatic
#341A8F #4724C3 #6847DD #927BE7 #BDAEF0

Accessibility & contrast

On white

5.94
#6847DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6847DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847DD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847DD#FFFFFF#000000##FFFFFF
##6847DD1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#386E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6847dd;
/* rgb */ color: rgb(104, 71, 221);
/* oklch */ color: oklch(52.4% 0.216 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e7de9',
    500: '#6847dd',
    950: '#000000',
  },
}
SCSS
$custom: #6847dd;
$custom-light: #9e7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6847dd",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 253.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.21556,
    "h": 286.5
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#6847DD
secondary
#D1DEA2
accent
#EC3CC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6847DD

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

Preview Lab → · Contrast checker → · Palette generator →

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