#6847AE#6847AE

#6847AE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.158 H 294.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6847AE
RGBrgb(104, 71, 174)
HSLhsl(259, 42%, 48%)
HSVhsv(259, 59%, 68%)
CMYKcmyk(40.2%, 59.2%, 0%, 31.8%)
CIE-LABlab(38.73, 37.83, -50.34)
CIE-LCHlch(38.73, 62.97, 306.93°)
OKLaboklab(48.78% 0.0656 -0.1432)
OKLCHoklch(48.78% 0.158 294.6)
XYZxyz(15.6001, 10.5052, 41.2420)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847AE #8DAE47
analogous
#4759AE #6847AE #9B47AE
triadic
#6847AE #AE6847 #47AE68
tetradic
#6847AE #AE4759 #8DAE47 #47AE9B
square
#6847AE #AE4759 #8DAE47 #47AE9B
split-complementary
#6847AE #AE9B47 #59AE47
monochromatic
#342457 #4E3583 #6847AE #8A6EC4 #AD9AD6

Accessibility & contrast

On white

6.77
#6847AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6847AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847AE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847AE#FFFFFF#000000##FFFFFF
##6847AE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#565D73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6847ae;
/* rgb */ color: rgb(104, 71, 174);
/* oklch */ color: oklch(48.8% 0.158 294.6);
Tailwind
colors: {
  custom: {
    50: '#987bc7',
    500: '#6847ae',
    950: '#000000',
  },
}
SCSS
$custom: #6847ae;
$custom-light: #987bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6847ae",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 259.223,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.15753,
    "h": 294.6
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#6847AE
secondary
#B2C28F
accent
#D256AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6847AE

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

Preview Lab → · Contrast checker → · Palette generator →

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