#8F47E8#8F47E8

#8F47E8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.229 H 299.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F47E8
RGBrgb(143, 71, 232)
HSLhsl(267, 78%, 59%)
HSVhsv(267, 69%, 91%)
CMYKcmyk(38.4%, 69.4%, 0%, 9%)
CIE-LABlab(47.20, 60.85, -69.96)
CIE-LCHlch(47.20, 92.72, 311.01°)
OKLaboklab(57.18% 0.1128 -0.1996)
OKLCHoklch(57.18% 0.229 299.5)
XYZxyz(28.1428, 16.1720, 77.9671)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47E8 #A0E847
analogous
#4750E8 #8F47E8 #DF47E8
triadic
#8F47E8 #E88F47 #47E88F
tetradic
#8F47E8 #E84750 #A0E847 #47E8DF
square
#8F47E8 #E84750 #A0E847 #47E8DF
split-complementary
#8F47E8 #E8DF47 #50E847
monochromatic
#5314A1 #6F1BD7 #8F47E8 #B07DEF #D1B4F6

Accessibility & contrast

On white

4.96
#8F47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8F47E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47E8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47E8#FFFFFF#000000##FFFFFF
##8F47E81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#7A6E93
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f47e8;
/* rgb */ color: rgb(143, 71, 232);
/* oklch */ color: oklch(57.2% 0.229 299.5);
Tailwind
colors: {
  custom: {
    50: '#b680f0',
    500: '#8f47e8',
    950: '#000000',
  },
}
SCSS
$custom: #8f47e8;
$custom-light: #b680f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47e8",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 266.832,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.22929,
    "h": 299.5
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#8F47E8
secondary
#C9E5A6
accent
#F4349E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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