#8F47CF#8F47CF

#8F47CF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.203 H 304.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F47CF
RGBrgb(143, 71, 207)
HSLhsl(272, 59%, 55%)
HSVhsv(272, 66%, 81%)
CMYKcmyk(30.9%, 65.7%, 0%, 18.8%)
CIE-LABlab(45.43, 54.89, -58.58)
CIE-LCHlch(45.43, 80.28, 313.14°)
OKLaboklab(55.36% 0.1161 -0.1662)
OKLCHoklch(55.36% 0.203 304.9)
XYZxyz(24.8409, 14.8513, 60.5773)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47CF #87CF47
analogous
#4B47CF #8F47CF #CF47CB
triadic
#8F47CF #CF8F47 #47CF8F
tetradic
#8F47CF #CF4B47 #87CF47 #47CBCF
square
#8F47CF #CF4B47 #87CF47 #47CBCF
split-complementary
#8F47CF #CBCF47 #47CF4B
monochromatic
#50207B #702DAC #8F47CF #AD78DC #CAA8E8

Accessibility & contrast

On white

5.29
#8F47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47CF#FFFFFF#000000##FFFFFF
##8F47CF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#836585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f47cf;
/* rgb */ color: rgb(143, 71, 207);
/* oklch */ color: oklch(55.4% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#b47fde',
    500: '#8f47cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f47cf;
$custom-light: #b47fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47cf",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 271.765,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.2027,
    "h": 304.9
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#8F47CF
secondary
#B7D69C
accent
#E2468F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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