#6847E2#6847E2

#6847E2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.221 H 285.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6847E2
RGBrgb(104, 71, 226)
HSLhsl(253, 73%, 58%)
HSVhsv(253, 69%, 89%)
CMYKcmyk(54%, 68.6%, 0%, 11.4%)
CIE-LABlab(42.67, 52.63, -74.12)
CIE-LCHlch(42.67, 90.91, 305.38°)
OKLaboklab(52.86% 0.0603 -0.2131)
OKLCHoklch(52.86% 0.221 285.8)
XYZxyz(21.6855, 12.9393, 73.2916)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847E2 #C1E247
analogous
#4773E2 #6847E2 #B547E2
triadic
#6847E2 #E26847 #47E268
tetradic
#6847E2 #E24773 #C1E247 #47E2B5
square
#6847E2 #E24773 #C1E247 #47E2B5
split-complementary
#6847E2 #E2B547 #73E247
monochromatic
#331897 #4520CC #6847E2 #937CEA #BFB1F3

Accessibility & contrast

On white

5.85
#6847E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6847E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847E2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847E2#FFFFFF#000000##FFFFFF
##6847E21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#336F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6847e2;
/* rgb */ color: rgb(104, 71, 226);
/* oklch */ color: oklch(52.9% 0.221 285.8);
Tailwind
colors: {
  custom: {
    50: '#9e7dec',
    500: '#6847e2',
    950: '#000000',
  },
}
SCSS
$custom: #6847e2;
$custom-light: #9e7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6847e2",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 252.774,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.22146,
    "h": 285.8
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#6847E2
secondary
#D4E1A4
accent
#EF38C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6847E2

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

Preview Lab → · Contrast checker → · Palette generator →

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