#6847AC#6847AC

#6847AC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.155 H 295.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6847AC
RGBrgb(104, 71, 172)
HSLhsl(260, 42%, 48%)
HSVhsv(260, 59%, 67%)
CMYKcmyk(39.5%, 58.7%, 0%, 32.5%)
CIE-LABlab(38.60, 37.28, -49.37)
CIE-LCHlch(38.60, 61.86, 307.06°)
OKLaboklab(48.64% 0.0657 -0.1404)
OKLCHoklch(48.64% 0.155 295.1)
XYZxyz(15.4066, 10.4278, 40.2228)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847AC #8BAC47
analogous
#4758AC #6847AC #9B47AC
triadic
#6847AC #AC6847 #47AC68
tetradic
#6847AC #AC4758 #8BAC47 #47AC9B
square
#6847AC #AC4758 #8BAC47 #47AC9B
split-complementary
#6847AC #AC9B47 #58AC47
monochromatic
#342355 #4E3581 #6847AC #896DC3 #AC99D5

Accessibility & contrast

On white

6.81
#6847AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6847AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6847AC#FFFFFF#000000##FFFFFF
##6847AC1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#1B59AA
Tritanopia (blue-blind)
#575D72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6847ac;
/* rgb */ color: rgb(104, 71, 172);
/* oklch */ color: oklch(48.6% 0.155 295.1);
Tailwind
colors: {
  custom: {
    50: '#987bc5',
    500: '#6847ac',
    950: '#000000',
  },
}
SCSS
$custom: #6847ac;
$custom-light: #987bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6847ac",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 259.604,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.15496,
    "h": 295.1
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#6847AC
secondary
#B0C18E
accent
#D156A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6847AC

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

Preview Lab → · Contrast checker → · Palette generator →

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