#6C47DC#6C47DC

#6C47DC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.214 H 288.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6C47DC
RGBrgb(108, 71, 220)
HSLhsl(255, 68%, 57%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(50.9%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.55, 51.57, -70.88)
CIE-LCHlch(42.55, 87.65, 306.04°)
OKLaboklab(52.72% 0.0667 -0.2035)
OKLCHoklch(52.72% 0.214 288.2)
XYZxyz(21.3521, 12.8609, 69.0536)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47DC #B7DC47
analogous
#476DDC #6C47DC #B647DC
triadic
#6C47DC #DC6C47 #47DC6C
tetradic
#6C47DC #DC476D #B7DC47 #47DCB6
square
#6C47DC #DC476D #B7DC47 #47DCB6
split-complementary
#6C47DC #DCB647 #6DDC47
monochromatic
#371B8E #4C25C1 #6C47DC #957AE6 #BEAEF0

Accessibility & contrast

On white

5.88
#6C47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6C47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47DC#FFFFFF#000000##FFFFFF
##6C47DC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#436D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c47dc;
/* rgb */ color: rgb(108, 71, 220);
/* oklch */ color: oklch(52.7% 0.214 288.2);
Tailwind
colors: {
  custom: {
    50: '#a07de8',
    500: '#6c47dc',
    950: '#000000',
  },
}
SCSS
$custom: #6c47dc;
$custom-light: #a07de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47dc",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 254.899,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.21413,
    "h": 288.2
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#6C47DC
secondary
#CFDEA1
accent
#EB3DC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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