#8F47CA#8F47CA

#8F47CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.197 H 306.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F47CA
RGBrgb(143, 71, 202)
HSLhsl(273, 55%, 54%)
HSVhsv(273, 65%, 79%)
CMYKcmyk(29.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(45.10, 53.73, -56.23)
CIE-LCHlch(45.10, 77.78, 313.70°)
OKLaboklab(55.01% 0.1165 -0.1593)
OKLCHoklch(55.01% 0.197 306.2)
XYZxyz(24.2393, 14.6106, 57.4088)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47CA #82CA47
analogous
#4D47CA #8F47CA #CA47C3
triadic
#8F47CA #CA8F47 #47CA8F
tetradic
#8F47CA #CA4D47 #82CA47 #47C3CA
square
#8F47CA #CA4D47 #82CA47 #47C3CA
split-complementary
#8F47CA #C3CA47 #47CA4D
monochromatic
#4F2275 #702FA4 #8F47CA #AC77D8 #C9A6E5

Accessibility & contrast

On white

5.35
#8F47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47CA#FFFFFF#000000##FFFFFF
##8F47CA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#856382
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f47ca;
/* rgb */ color: rgb(143, 71, 202);
/* oklch */ color: oklch(55.0% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#b47fdb',
    500: '#8f47ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f47ca;
$custom-light: #b47fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47ca",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 272.977,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.19734,
    "h": 306.2
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#8F47CA
secondary
#B4D29A
accent
#DF498C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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