#8F4FCC#8F4FCC

#8F4FCC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.188 H 304.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8F4FCC
RGBrgb(143, 79, 204)
HSLhsl(271, 55%, 55%)
HSVhsv(271, 61%, 80%)
CMYKcmyk(29.9%, 61.3%, 0%, 20%)
CIE-LABlab(46.70, 50.19, -54.81)
CIE-LCHlch(46.70, 74.31, 312.48°)
OKLaboklab(56.21% 0.1071 -0.1551)
OKLCHoklch(56.21% 0.188 304.6)
XYZxyz(25.0203, 15.7914, 58.8449)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FCC #8CCC4F
analogous
#504FCC #8F4FCC #CC4FCA
triadic
#8F4FCC #CC8F4F #4FCC8F
tetradic
#8F4FCC #CC504F #8CCC4F #4FCACC
square
#8F4FCC #CC504F #8CCC4F #4FCACC
split-complementary
#8F4FCC #CACC4F #4FCC50
monochromatic
#51247D #7032AC #8F4FCC #AD7EDA #CBAEE7

Accessibility & contrast

On white

5.05
#8F4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8F4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FCC#FFFFFF#000000##FFFFFF
##8F4FCC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#846986
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4fcc;
/* rgb */ color: rgb(143, 79, 204);
/* oklch */ color: oklch(56.2% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#b484dc',
    500: '#8f4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fcc;
$custom-light: #b484dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fcc",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 270.72,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.18847,
    "h": 304.6
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#8F4FCC
secondary
#BBD5A1
accent
#DE4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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