#6847CF#6847CF

#6847CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.199 H 288.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6847CF
RGBrgb(104, 71, 207)
HSLhsl(255, 59%, 55%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49.8%, 65.7%, 0%, 18.8%)
CIE-LABlab(41.14, 47.18, -65.73)
CIE-LCHlch(41.14, 80.91, 305.67°)
OKLaboklab(51.29% 0.0631 -0.1885)
OKLCHoklch(51.29% 0.199 288.5)
XYZxyz(19.2214, 11.9537, 60.3139)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847CF #AECF47
analogous
#476ACF #6847CF #AC47CF
triadic
#6847CF #CF6847 #47CF68
tetradic
#6847CF #CF476A #AECF47 #47CFAC
square
#6847CF #CF476A #AECF47 #47CFAC
split-complementary
#6847CF #CFAC47 #6ACF47
monochromatic
#36207B #4C2DAC #6847CF #9078DC #B8A8E8

Accessibility & contrast

On white

6.19
#6847CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6847CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847CF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847CF#FFFFFF#000000##FFFFFF
##6847CF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#446985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6847cf;
/* rgb */ color: rgb(104, 71, 207);
/* oklch */ color: oklch(51.3% 0.199 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c7cdf',
    500: '#6847cf',
    950: '#000000',
  },
}
SCSS
$custom: #6847cf;
$custom-light: #9c7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6847cf",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 254.559,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.19876,
    "h": 288.5
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#6847CF
secondary
#C8D69C
accent
#E246BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6847CF

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

Preview Lab → · Contrast checker → · Palette generator →

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