#6847E8#6847E8

#6847E8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.228 H 285.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6847E8
RGBrgb(104, 71, 232)
HSLhsl(252, 78%, 59%)
HSVhsv(252, 69%, 91%)
CMYKcmyk(55.2%, 69.4%, 0%, 9%)
CIE-LABlab(43.17, 54.35, -76.70)
CIE-LCHlch(43.17, 94.01, 305.32°)
OKLaboklab(53.38% 0.0592 -0.2207)
OKLCHoklch(53.38% 0.228 285)
XYZxyz(22.5232, 13.2744, 77.7037)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847E8 #C7E847
analogous
#4777E8 #6847E8 #B947E8
triadic
#6847E8 #E86847 #47E868
tetradic
#6847E8 #E84777 #C7E847 #47E8B9
square
#6847E8 #E84777 #C7E847 #47E8B9
split-complementary
#6847E8 #E8B947 #77E847
monochromatic
#3114A1 #411BD7 #6847E8 #957DEF #C1B4F6

Accessibility & contrast

On white

5.75
#6847E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6847E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847E8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847E8#FFFFFF#000000##FFFFFF
##6847E81.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#2C7292
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6847e8;
/* rgb */ color: rgb(104, 71, 232);
/* oklch */ color: oklch(53.4% 0.228 285.0);
Tailwind
colors: {
  custom: {
    50: '#9f7df1',
    500: '#6847e8',
    950: '#000000',
  },
}
SCSS
$custom: #6847e8;
$custom-light: #9f7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6847e8",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 252.298,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.22849,
    "h": 285
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#6847E8
secondary
#D8E5A6
accent
#F434CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6847E8

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

Preview Lab → · Contrast checker → · Palette generator →

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