#6D47CE#6D47CE

#6D47CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.197 H 290.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6D47CE
RGBrgb(109, 71, 206)
HSLhsl(257, 58%, 54%)
HSVhsv(257, 66%, 81%)
CMYKcmyk(47.1%, 65.5%, 0%, 19.2%)
CIE-LABlab(41.55, 47.81, -64.47)
CIE-LCHlch(41.55, 80.26, 306.56°)
OKLaboklab(51.68% 0.0701 -0.1846)
OKLCHoklch(51.68% 0.197 290.8)
XYZxyz(19.6973, 12.2132, 59.7001)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47CE #A8CE47
analogous
#4765CE #6D47CE #B147CE
triadic
#6D47CE #CE6D47 #47CE6D
tetradic
#6D47CE #CE4765 #A8CE47 #47CEB1
square
#6D47CE #CE4765 #A8CE47 #47CEB1
split-complementary
#6D47CE #CEB147 #65CE47
monochromatic
#3A217A #512DAA #6D47CE #9377DB #BAA8E8

Accessibility & contrast

On white

6.10
#6D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47CE#FFFFFF#000000##FFFFFF
##6D47CE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#4E6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d47ce;
/* rgb */ color: rgb(109, 71, 206);
/* oklch */ color: oklch(51.7% 0.197 290.8);
Tailwind
colors: {
  custom: {
    50: '#9e7cde',
    500: '#6d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d47ce;
$custom-light: #9e7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47ce",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 256.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.19744,
    "h": 290.8
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#6D47CE
secondary
#C5D59C
accent
#E147B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6D47CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva