#6847CD#6847CD

#6847CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.196 H 288.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6847CD
RGBrgb(104, 71, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(49.3%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.99, 46.61, -64.83)
CIE-LCHlch(40.99, 79.85, 305.71°)
OKLaboklab(51.13% 0.0634 -0.1858)
OKLCHoklch(51.13% 0.196 288.8)
XYZxyz(18.9784, 11.8565, 59.0343)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847CD #ACCD47
analogous
#4769CD #6847CD #AB47CD
triadic
#6847CD #CD6847 #47CD68
tetradic
#6847CD #CD4769 #ACCD47 #47CDAB
square
#6847CD #CD4769 #ACCD47 #47CDAB
split-complementary
#6847CD #CDAB47 #69CD47
monochromatic
#362179 #4C2EA9 #6847CD #8F77DA #B7A7E7

Accessibility & contrast

On white

6.23
#6847CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6847CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847CD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847CD#FFFFFF#000000##FFFFFF
##6847CD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#456884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6847cd;
/* rgb */ color: rgb(104, 71, 205);
/* oklch */ color: oklch(51.1% 0.196 288.8);
Tailwind
colors: {
  custom: {
    50: '#9b7cdd',
    500: '#6847cd',
    950: '#000000',
  },
}
SCSS
$custom: #6847cd;
$custom-light: #9b7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6847cd",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 254.776,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.19633,
    "h": 288.8
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#6847CD
secondary
#C6D49B
accent
#E147BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6847CD

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

Preview Lab → · Contrast checker → · Palette generator →

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