#6C47CD#6C47CD

#6C47CD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.196 H 290.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6C47CD
RGBrgb(108, 71, 205)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(47.3%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.38, 47.35, -64.18)
CIE-LCHlch(41.38, 79.75, 306.42°)
OKLaboklab(51.51% 0.0688 -0.1838)
OKLCHoklch(51.51% 0.196 290.5)
XYZxyz(19.4539, 12.1017, 59.0566)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47CD #A8CD47
analogous
#4765CD #6C47CD #AF47CD
triadic
#6C47CD #CD6C47 #47CD6C
tetradic
#6C47CD #CD4765 #A8CD47 #47CDAF
square
#6C47CD #CD4765 #A8CD47 #47CDAF
split-complementary
#6C47CD #CDAF47 #65CD47
monochromatic
#392179 #502EA9 #6C47CD #9277DA #B9A7E7

Accessibility & contrast

On white

6.14
#6C47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6C47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47CD#FFFFFF#000000##FFFFFF
##6C47CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#4D6784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c47cd;
/* rgb */ color: rgb(108, 71, 205);
/* oklch */ color: oklch(51.5% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#9e7cdd',
    500: '#6c47cd',
    950: '#000000',
  },
}
SCSS
$custom: #6c47cd;
$custom-light: #9e7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47cd",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 256.567,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.19624,
    "h": 290.5
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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