#6847AA#6847AA

#6847AA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.5% C 0.152 H 295.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6847AA
RGBrgb(104, 71, 170)
HSLhsl(260, 41%, 47%)
HSVhsv(260, 58%, 67%)
CMYKcmyk(38.8%, 58.2%, 0%, 33.3%)
CIE-LABlab(38.47, 36.72, -48.39)
CIE-LCHlch(38.47, 60.75, 307.19°)
OKLaboklab(48.5% 0.0657 -0.1375)
OKLCHoklch(48.5% 0.152 295.5)
XYZxyz(15.2160, 10.3515, 39.2188)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847AA #89AA47
analogous
#4758AA #6847AA #9A47AA
triadic
#6847AA #AA6847 #47AA68
tetradic
#6847AA #AA4758 #89AA47 #47AA9A
square
#6847AA #AA4758 #89AA47 #47AA9A
split-complementary
#6847AA #AA9A47 #58AA47
monochromatic
#332354 #4E357F #6847AA #896CC2 #AC98D4

Accessibility & contrast

On white

6.84
#6847AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6847AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6847AA#FFFFFF#000000##FFFFFF
##6847AA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#1F59A8
Tritanopia (blue-blind)
#585C71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6847aa;
/* rgb */ color: rgb(104, 71, 170);
/* oklch */ color: oklch(48.5% 0.152 295.5);
Tailwind
colors: {
  custom: {
    50: '#977bc4',
    500: '#6847aa',
    950: '#000000',
  },
}
SCSS
$custom: #6847aa;
$custom-light: #977bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6847aa",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 260,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.15238,
    "h": 295.5
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#6847AA
secondary
#AFC08D
accent
#D157A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6847AA

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

Preview Lab → · Contrast checker → · Palette generator →

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