#8F47E4#8F47E4

#8F47E4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.225 H 300.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8F47E4
RGBrgb(143, 71, 228)
HSLhsl(268, 74%, 59%)
HSVhsv(268, 69%, 89%)
CMYKcmyk(37.3%, 68.9%, 0%, 10.6%)
CIE-LABlab(46.91, 59.88, -68.18)
CIE-LCHlch(46.91, 90.74, 311.29°)
OKLaboklab(56.88% 0.1135 -0.1944)
OKLCHoklch(56.88% 0.225 300.3)
XYZxyz(27.5811, 15.9473, 75.0088)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47E4 #9CE447
analogous
#474DE4 #8F47E4 #DE47E4
triadic
#8F47E4 #E48F47 #47E48F
tetradic
#8F47E4 #E4474D #9CE447 #47E4DE
square
#8F47E4 #E4474D #9CE447 #47E4DE
split-complementary
#8F47E4 #E4DE47 #4DE447
monochromatic
#53179A #701ECF #8F47E4 #AF7CEC #D0B2F4

Accessibility & contrast

On white

5.01
#8F47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8F47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47E4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47E4#FFFFFF#000000##FFFFFF
##8F47E41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#7C6D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f47e4;
/* rgb */ color: rgb(143, 71, 228);
/* oklch */ color: oklch(56.9% 0.225 300.3);
Tailwind
colors: {
  custom: {
    50: '#b67fed',
    500: '#8f47e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f47e4;
$custom-light: #b67fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47e4",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 267.516,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.22507,
    "h": 300.3
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#8F47E4
secondary
#C6E2A4
accent
#F1379C
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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