#8F4CC4#8F4CC4

#8F4CC4 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.184 H 307.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F4CC4
RGBrgb(143, 76, 196)
HSLhsl(274, 50%, 53%)
HSVhsv(274, 61%, 77%)
CMYKcmyk(27%, 61.2%, 0%, 23.1%)
CIE-LABlab(45.63, 49.84, -51.91)
CIE-LCHlch(45.63, 71.97, 313.84°)
OKLaboklab(55.27% 0.1109 -0.1466)
OKLCHoklch(55.27% 0.184 307.1)
XYZxyz(23.8739, 14.9943, 53.8504)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CC4 #81C44C
analogous
#534CC4 #8F4CC4 #C44CBD
triadic
#8F4CC4 #C48F4C #4CC48F
tetradic
#8F4CC4 #C4534C #81C44C #4CBDC4
square
#8F4CC4 #C4534C #81C44C #4CBDC4
split-complementary
#8F4CC4 #BDC44C #4CC453
monochromatic
#4F2571 #70349F #8F4CC4 #AC7AD3 #C9A8E2

Accessibility & contrast

On white

5.25
#8F4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CC4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CC4#FFFFFF#000000##FFFFFF
##8F4CC41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6AC8
Deuteranopia (green-blind)
#366DC1
Tritanopia (blue-blind)
#876481
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4cc4;
/* rgb */ color: rgb(143, 76, 196);
/* oklch */ color: oklch(55.3% 0.184 307.1);
Tailwind
colors: {
  custom: {
    50: '#b381d6',
    500: '#8f4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cc4;
$custom-light: #b381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cc4",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 273.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.18385,
    "h": 307.1
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#8F4CC4
secondary
#B3D09C
accent
#DA4E8C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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