#8F47CD#8F47CD

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

Color values

HEX#8F47CD
RGBrgb(143, 71, 205)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 65%, 80%)
CMYKcmyk(30.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(45.30, 54.43, -57.64)
CIE-LCHlch(45.30, 79.28, 313.36°)
OKLaboklab(55.22% 0.1163 -0.1634)
OKLCHoklch(55.22% 0.201 305.4)
XYZxyz(24.5980, 14.7541, 59.2977)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47CD #85CD47
analogous
#4C47CD #8F47CD #CD47C8
triadic
#8F47CD #CD8F47 #47CD8F
tetradic
#8F47CD #CD4C47 #85CD47 #47C8CD
square
#8F47CD #CD4C47 #85CD47 #47C8CD
split-complementary
#8F47CD #C8CD47 #47CD4C
monochromatic
#502179 #702EA9 #8F47CD #AC77DA #CAA7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F47CD#FFFFFF#000000##FFFFFF
##8F47CD1.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)
#0069D1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#846484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f47cd;
/* rgb */ color: rgb(143, 71, 205);
/* oklch */ color: oklch(55.2% 0.201 305.4);
Tailwind
colors: {
  custom: {
    50: '#b47fdd',
    500: '#8f47cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f47cd;
$custom-light: #b47fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47cd",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 272.239,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.20056,
    "h": 305.4
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#8F47CD
secondary
#B6D49B
accent
#E1478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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