#6847BD#6847BD

#6847BD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.177 H 291.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6847BD
RGBrgb(104, 71, 189)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(45%, 62.4%, 0%, 25.9%)
CIE-LABlab(39.79, 42.05, -57.47)
CIE-LCHlch(39.79, 71.21, 306.19°)
OKLaboklab(49.89% 0.0649 -0.1642)
OKLCHoklch(49.89% 0.177 291.6)
XYZxyz(17.1449, 11.1231, 49.3779)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847BD #9CBD47
analogous
#4761BD #6847BD #A347BD
triadic
#6847BD #BD6847 #47BD68
tetradic
#6847BD #BD4761 #9CBD47 #47BDA3
square
#6847BD #BD4761 #9CBD47 #47BDA3
split-complementary
#6847BD #BDA347 #61BD47
monochromatic
#362465 #4F3492 #6847BD #8D74CD #B2A1DD

Accessibility & contrast

On white

6.51
#6847BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6847BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6847BD#FFFFFF#000000##FFFFFF
##6847BD1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#4F627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6847bd;
/* rgb */ color: rgb(104, 71, 189);
/* oklch */ color: oklch(49.9% 0.177 291.6);
Tailwind
colors: {
  custom: {
    50: '#997cd2',
    500: '#6847bd',
    950: '#000000',
  },
}
SCSS
$custom: #6847bd;
$custom-light: #997cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6847bd",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 256.78,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.17655,
    "h": 291.6
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#6847BD
secondary
#BBCA96
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6847BD

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

Preview Lab → · Contrast checker → · Palette generator →

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