#6847CC#6847CC

#6847CC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.195 H 289.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6847CC
RGBrgb(104, 71, 204)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(49%, 65.2%, 0%, 20%)
CIE-LABlab(40.91, 46.32, -64.38)
CIE-LCHlch(40.91, 79.31, 305.74°)
OKLaboklab(51.05% 0.0635 -0.1845)
OKLCHoklch(51.05% 0.195 289)
XYZxyz(18.8581, 11.8084, 58.4006)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847CC #ABCC47
analogous
#4769CC #6847CC #AB47CC
triadic
#6847CC #CC6847 #47CC68
tetradic
#6847CC #CC4769 #ABCC47 #47CCAB
square
#6847CC #CC4769 #ABCC47 #47CCAB
split-complementary
#6847CC #CCAB47 #69CC47
monochromatic
#372177 #4C2EA7 #6847CC #8F77D9 #B7A7E7

Accessibility & contrast

On white

6.25
#6847CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6847CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847CC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847CC#FFFFFF#000000##FFFFFF
##6847CC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#466783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6847cc;
/* rgb */ color: rgb(104, 71, 204);
/* oklch */ color: oklch(51.1% 0.195 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b7cdc',
    500: '#6847cc',
    950: '#000000',
  },
}
SCSS
$custom: #6847cc;
$custom-light: #9b7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6847cc",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 254.887,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51053,
    "c": 0.19511,
    "h": 289
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#6847CC
secondary
#C6D49B
accent
#E048BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6847CC

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

Preview Lab → · Contrast checker → · Palette generator →

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