#8F47CC#8F47CC

#8F47CC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.199 H 305.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F47CC
RGBrgb(143, 71, 204)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 65%, 80%)
CMYKcmyk(29.9%, 65.2%, 0%, 20%)
CIE-LABlab(45.23, 54.20, -57.18)
CIE-LCHlch(45.23, 78.78, 313.47°)
OKLaboklab(55.15% 0.1164 -0.162)
OKLCHoklch(55.15% 0.199 305.7)
XYZxyz(24.4776, 14.7059, 58.6640)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47CC #84CC47
analogous
#4D47CC #8F47CC #CC47C7
triadic
#8F47CC #CC8F47 #47CC8F
tetradic
#8F47CC #CC4D47 #84CC47 #47C7CC
square
#8F47CC #CC4D47 #84CC47 #47C7CC
split-complementary
#8F47CC #C7CC47 #47CC4D
monochromatic
#502177 #702EA7 #8F47CC #AC77D9 #C9A7E7

Accessibility & contrast

On white

5.33
#8F47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47CC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47CC#FFFFFF#000000##FFFFFF
##8F47CC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#846483
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f47cc;
/* rgb */ color: rgb(143, 71, 204);
/* oklch */ color: oklch(55.1% 0.199 305.7);
Tailwind
colors: {
  custom: {
    50: '#b47fdc',
    500: '#8f47cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f47cc;
$custom-light: #b47fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47cc",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 272.481,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55146,
    "c": 0.19948,
    "h": 305.7
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#8F47CC
secondary
#B5D49B
accent
#E0488E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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