#6847BC#6847BC

#6847BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.175 H 291.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6847BC
RGBrgb(104, 71, 188)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(44.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(39.71, 41.77, -57.00)
CIE-LCHlch(39.71, 70.67, 306.23°)
OKLaboklab(49.81% 0.065 -0.1628)
OKLCHoklch(49.81% 0.175 291.8)
XYZxyz(17.0367, 11.0798, 48.8082)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847BC #9BBC47
analogous
#4760BC #6847BC #A247BC
triadic
#6847BC #BC6847 #47BC68
tetradic
#6847BC #BC4760 #9BBC47 #47BCA2
square
#6847BC #BC4760 #9BBC47 #47BCA2
split-complementary
#6847BC #BCA247 #60BC47
monochromatic
#362464 #4F3591 #6847BC #8D74CC #B2A1DD

Accessibility & contrast

On white

6.53
#6847BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6847BC#FFFFFF#000000##FFFFFF
##6847BC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#4F627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6847bc;
/* rgb */ color: rgb(104, 71, 188);
/* oklch */ color: oklch(49.8% 0.175 291.8);
Tailwind
colors: {
  custom: {
    50: '#997cd1',
    500: '#6847bc',
    950: '#000000',
  },
}
SCSS
$custom: #6847bc;
$custom-light: #997cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6847bc",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 256.923,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.17531,
    "h": 291.8
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#6847BC
secondary
#BBC995
accent
#D652B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6847BC

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

Preview Lab → · Contrast checker → · Palette generator →

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