#6847BF#6847BF

#6847BF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.179 H 291.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6847BF
RGBrgb(104, 71, 191)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 63%, 75%)
CMYKcmyk(45.5%, 62.8%, 0%, 25.1%)
CIE-LABlab(39.93, 42.62, -58.41)
CIE-LCHlch(39.93, 72.30, 306.12°)
OKLaboklab(50.04% 0.0648 -0.1669)
OKLCHoklch(50.04% 0.179 291.2)
XYZxyz(17.3635, 11.2105, 50.5291)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847BF #9EBF47
analogous
#4762BF #6847BF #A447BF
triadic
#6847BF #BF6847 #47BF68
tetradic
#6847BF #BF4762 #9EBF47 #47BFA4
square
#6847BF #BF4762 #9EBF47 #47BFA4
split-complementary
#6847BF #BFA447 #62BF47
monochromatic
#372468 #4F3495 #6847BF #8D74CF #B3A2DF

Accessibility & contrast

On white

6.48
#6847BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6847BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6847BF#FFFFFF#000000##FFFFFF
##6847BF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#4E637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6847bf;
/* rgb */ color: rgb(104, 71, 191);
/* oklch */ color: oklch(50.0% 0.179 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a7cd3',
    500: '#6847bf',
    950: '#000000',
  },
}
SCSS
$custom: #6847bf;
$custom-light: #9a7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6847bf",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 256.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.17906,
    "h": 291.2
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#6847BF
secondary
#BDCB96
accent
#D850B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6847BF

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

Preview Lab → · Contrast checker → · Palette generator →

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