#6D47C8#6D47C8

#6D47C8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.190 H 291.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6D47C8
RGBrgb(109, 71, 200)
HSLhsl(258, 54%, 53%)
HSVhsv(258, 65%, 78%)
CMYKcmyk(45.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(41.10, 46.14, -61.73)
CIE-LCHlch(41.10, 77.07, 306.78°)
OKLaboklab(51.21% 0.0707 -0.1766)
OKLCHoklch(51.21% 0.19 291.8)
XYZxyz(18.9823, 11.9272, 55.9344)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47C8 #A2C847
analogous
#4761C8 #6D47C8 #AD47C8
triadic
#6D47C8 #C86D47 #47C86D
tetradic
#6D47C8 #C84761 #A2C847 #47C8AD
square
#6D47C8 #C84761 #A2C847 #47C8AD
split-complementary
#6D47C8 #C8AD47 #61C847
monochromatic
#3A2272 #5230A2 #6D47C8 #9276D6 #B8A5E4

Accessibility & contrast

On white

6.20
#6D47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6D47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47C8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47C8#FFFFFF#000000##FFFFFF
##6D47C81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#526681
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d47c8;
/* rgb */ color: rgb(109, 71, 200);
/* oklch */ color: oklch(51.2% 0.190 291.8);
Tailwind
colors: {
  custom: {
    50: '#9e7cda',
    500: '#6d47c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d47c8;
$custom-light: #9e7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47c8",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 257.674,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.19019,
    "h": 291.8
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#6D47C8
secondary
#C1D19A
accent
#DD4AB2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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