#6847C8#6847C8

#6847C8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.190 H 289.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6847C8
RGBrgb(104, 71, 200)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 65%, 78%)
CMYKcmyk(48%, 64.5%, 0%, 21.6%)
CIE-LABlab(40.60, 45.18, -62.56)
CIE-LCHlch(40.60, 77.17, 305.84°)
OKLaboklab(50.74% 0.0639 -0.1791)
OKLCHoklch(50.74% 0.19 289.6)
XYZxyz(18.3845, 11.6189, 55.9064)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847C8 #A7C847
analogous
#4766C8 #6847C8 #A847C8
triadic
#6847C8 #C86847 #47C868
tetradic
#6847C8 #C84766 #A7C847 #47C8A8
square
#6847C8 #C84766 #A7C847 #47C8A8
split-complementary
#6847C8 #C8A847 #66C847
monochromatic
#372272 #4D30A2 #6847C8 #8F76D6 #B5A5E4

Accessibility & contrast

On white

6.32
#6847C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6847C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847C8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847C8#FFFFFF#000000##FFFFFF
##6847C81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#486681
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6847c8;
/* rgb */ color: rgb(104, 71, 200);
/* oklch */ color: oklch(50.7% 0.190 289.6);
Tailwind
colors: {
  custom: {
    50: '#9b7cda',
    500: '#6847c8',
    950: '#000000',
  },
}
SCSS
$custom: #6847c8;
$custom-light: #9b7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6847c8",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 255.349,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.19021,
    "h": 289.6
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#6847C8
secondary
#C3D19A
accent
#DD4AB8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6847C8

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

Preview Lab → · Contrast checker → · Palette generator →

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