#6847DC#6847DC

#6847DC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.214 H 286.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6847DC
RGBrgb(104, 71, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(52.7%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.18, 50.91, -71.51)
CIE-LCHlch(42.18, 87.78, 305.45°)
OKLaboklab(52.36% 0.0613 -0.2054)
OKLCHoklch(52.36% 0.214 286.6)
XYZxyz(20.8766, 12.6158, 69.0313)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847DC #BBDC47
analogous
#4770DC #6847DC #B347DC
triadic
#6847DC #DC6847 #47DC68
tetradic
#6847DC #DC4770 #BBDC47 #47DCB3
square
#6847DC #DC4770 #BBDC47 #47DCB3
split-complementary
#6847DC #DCB347 #70DC47
monochromatic
#341B8E #4725C1 #6847DC #927AE6 #BCAEF0

Accessibility & contrast

On white

5.96
#6847DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6847DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847DC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847DC#FFFFFF#000000##FFFFFF
##6847DC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#396D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6847dc;
/* rgb */ color: rgb(104, 71, 220);
/* oklch */ color: oklch(52.4% 0.214 286.6);
Tailwind
colors: {
  custom: {
    50: '#9d7de8',
    500: '#6847dc',
    950: '#000000',
  },
}
SCSS
$custom: #6847dc;
$custom-light: #9d7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6847dc",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 253.289,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.21437,
    "h": 286.6
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#6847DC
secondary
#D0DEA1
accent
#EB3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6847DC

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

Preview Lab → · Contrast checker → · Palette generator →

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