#6847BB#6847BB

#6847BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.174 H 291.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6847BB
RGBrgb(104, 71, 187)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 62%, 73%)
CMYKcmyk(44.4%, 62%, 0%, 26.7%)
CIE-LABlab(39.64, 41.48, -56.54)
CIE-LCHlch(39.64, 70.12, 306.27°)
OKLaboklab(49.74% 0.0651 -0.1614)
OKLCHoklch(49.74% 0.174 291.9)
XYZxyz(16.9293, 11.0369, 48.2424)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847BB #9ABB47
analogous
#4760BB #6847BB #A247BB
triadic
#6847BB #BB6847 #47BB68
tetradic
#6847BB #BB4760 #9ABB47 #47BBA2
square
#6847BB #BB4760 #9ABB47 #47BBA2
split-complementary
#6847BB #BBA247 #60BB47
monochromatic
#362563 #4F3590 #6847BB #8D74CC #B1A0DC

Accessibility & contrast

On white

6.55
#6847BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6847BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6847BB#FFFFFF#000000##FFFFFF
##6847BB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#50627A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6847bb;
/* rgb */ color: rgb(104, 71, 187);
/* oklch */ color: oklch(49.7% 0.174 291.9);
Tailwind
colors: {
  custom: {
    50: '#997cd0',
    500: '#6847bb',
    950: '#000000',
  },
}
SCSS
$custom: #6847bb;
$custom-light: #997cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6847bb",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 257.069,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.17405,
    "h": 291.9
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#6847BB
secondary
#BAC995
accent
#D652B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6847BB

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

Preview Lab → · Contrast checker → · Palette generator →

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