#8F47BB#8F47BB

#8F47BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.181 H 310.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F47BB
RGBrgb(143, 71, 187)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 62%, 73%)
CMYKcmyk(23.5%, 62%, 0%, 26.7%)
CIE-LABlab(44.14, 50.31, -49.06)
CIE-LCHlch(44.14, 70.27, 315.72°)
OKLaboklab(54.01% 0.1173 -0.1382)
OKLCHoklch(54.01% 0.181 310.3)
XYZxyz(22.5489, 13.9344, 48.5058)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47BB #73BB47
analogous
#5547BB #8F47BB #BB47AD
triadic
#8F47BB #BB8F47 #47BB8F
tetradic
#8F47BB #BB5547 #73BB47 #47ADBB
square
#8F47BB #BB5547 #73BB47 #47ADBB
split-complementary
#8F47BB #ADBB47 #47BB55
monochromatic
#4B2563 #6D3590 #8F47BB #AA74CC #C5A0DC

Accessibility & contrast

On white

5.55
#8F47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47BB#FFFFFF#000000##FFFFFF
##8F47BB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#895D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f47bb;
/* rgb */ color: rgb(143, 71, 187);
/* oklch */ color: oklch(54.0% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#b37ed0',
    500: '#8f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f47bb;
$custom-light: #b37ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47bb",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 277.241,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.18126,
    "h": 310.3
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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