#8F47BC#8F47BC

#8F47BC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.182 H 310.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F47BC
RGBrgb(143, 71, 188)
HSLhsl(277, 47%, 51%)
HSVhsv(277, 62%, 74%)
CMYKcmyk(23.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(44.20, 50.53, -49.55)
CIE-LCHlch(44.20, 70.77, 315.57°)
OKLaboklab(54.08% 0.1173 -0.1396)
OKLCHoklch(54.08% 0.182 310)
XYZxyz(22.6563, 13.9774, 49.0716)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47BC #74BC47
analogous
#5447BC #8F47BC #BC47AF
triadic
#8F47BC #BC8F47 #47BC8F
tetradic
#8F47BC #BC5447 #74BC47 #47AFBC
square
#8F47BC #BC5447 #74BC47 #47AFBC
split-complementary
#8F47BC #AFBC47 #47BC54
monochromatic
#4C2464 #6E3591 #8F47BC #AA74CC #C6A1DD

Accessibility & contrast

On white

5.53
#8F47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47BC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47BC#FFFFFF#000000##FFFFFF
##8F47BC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f47bc;
/* rgb */ color: rgb(143, 71, 188);
/* oklch */ color: oklch(54.1% 0.182 310.0);
Tailwind
colors: {
  custom: {
    50: '#b37ed1',
    500: '#8f47bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f47bc;
$custom-light: #b37ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47bc",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 276.923,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.18234,
    "h": 310
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#8F47BC
secondary
#A9C995
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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