#8C47D2#8C47D2

#8C47D2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.205 H 303.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8C47D2
RGBrgb(140, 71, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(33.3%, 66.2%, 0%, 17.6%)
CIE-LABlab(45.27, 54.98, -60.58)
CIE-LCHlch(45.27, 81.81, 312.22°)
OKLaboklab(55.22% 0.1118 -0.1721)
OKLCHoklch(55.22% 0.205 303)
XYZxyz(24.6986, 14.7351, 62.5032)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C47D2 #8DD247
analogous
#4747D2 #8C47D2 #D147D2
triadic
#8C47D2 #D28C47 #47D28C
tetradic
#8C47D2 #D24747 #8DD247 #47D2D1
square
#8C47D2 #D24747 #8DD247 #47D2D1
split-complementary
#8C47D2 #D2D147 #47D247
monochromatic
#4F1F7F #6D2BB1 #8C47D2 #AB78DE #C9A9EA

Accessibility & contrast

On white

5.32
#8C47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8C47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C47D2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C47D2#FFFFFF#000000##FFFFFF
##8C47D21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#7E6687
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c47d2;
/* rgb */ color: rgb(140, 71, 210);
/* oklch */ color: oklch(55.2% 0.205 303.0);
Tailwind
colors: {
  custom: {
    50: '#b37fe1',
    500: '#8c47d2',
    950: '#000000',
  },
}
SCSS
$custom: #8c47d2;
$custom-light: #b37fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c47d2",
  "rgb": {
    "r": 140,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 269.784,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.20526,
    "h": 303
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#8C47D2
secondary
#BBD89D
accent
#E44494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C47D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8C47D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva