#6847DF#6847DF

#6847DF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.218 H 286.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6847DF
RGBrgb(104, 71, 223)
HSLhsl(253, 70%, 58%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(53.4%, 68.2%, 0%, 12.5%)
CIE-LABlab(42.42, 51.77, -72.82)
CIE-LCHlch(42.42, 89.34, 305.41°)
OKLaboklab(52.61% 0.0608 -0.2093)
OKLCHoklch(52.61% 0.218 286.2)
XYZxyz(21.2775, 12.7761, 71.1426)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847DF #BEDF47
analogous
#4772DF #6847DF #B447DF
triadic
#6847DF #DF6847 #47DF68
tetradic
#6847DF #DF4772 #BEDF47 #47DFB4
square
#6847DF #DF4772 #BEDF47 #47DFB4
split-complementary
#6847DF #DFB447 #72DF47
monochromatic
#341992 #4622C6 #6847DF #937BE8 #BEAFF1

Accessibility & contrast

On white

5.91
#6847DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6847DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847DF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847DF#FFFFFF#000000##FFFFFF
##6847DF1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#366E8E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6847df;
/* rgb */ color: rgb(104, 71, 223);
/* oklch */ color: oklch(52.6% 0.218 286.2);
Tailwind
colors: {
  custom: {
    50: '#9e7dea',
    500: '#6847df',
    950: '#000000',
  },
}
SCSS
$custom: #6847df;
$custom-light: #9e7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#6847df",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 253.026,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.21793,
    "h": 286.2
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6847DF

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

Preview Lab → · Contrast checker → · Palette generator →

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