#8F47D7#8F47D7

#8F47D7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.211 H 303.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F47D7
RGBrgb(143, 71, 215)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(33.5%, 67%, 0%, 15.7%)
CIE-LABlab(45.98, 56.78, -62.28)
CIE-LCHlch(45.98, 84.28, 312.35°)
OKLaboklab(55.92% 0.1152 -0.177)
OKLCHoklch(55.92% 0.211 303.1)
XYZxyz(25.8438, 15.2524, 65.8593)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47D7 #8FD747
analogous
#4747D7 #8F47D7 #D747D7
triadic
#8F47D7 #D78F47 #47D78F
tetradic
#8F47D7 #D74747 #8FD747 #47D7D7
square
#8F47D7 #D74747 #8FD747 #47D7D7
split-complementary
#8F47D7 #D7D747 #47D747
monochromatic
#521D86 #7028B9 #8F47D7 #AE79E2 #CCACED

Accessibility & contrast

On white

5.18
#8F47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8F47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47D7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47D7#FFFFFF#000000##FFFFFF
##8F47D71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#016DD4
Tritanopia (blue-blind)
#816889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f47d7;
/* rgb */ color: rgb(143, 71, 215);
/* oklch */ color: oklch(55.9% 0.211 303.1);
Tailwind
colors: {
  custom: {
    50: '#b57fe4',
    500: '#8f47d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f47d7;
$custom-light: #b57fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47d7",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 270,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.21124,
    "h": 303.1
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#8F47D7
secondary
#BDDB9F
accent
#E74194
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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