#8F4CD1#8F4CD1

#8F4CD1 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.198 H 303.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD1
RGBrgb(143, 76, 209)
HSLhsl(270, 59%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(31.6%, 63.6%, 0%, 18%)
CIE-LABlab(46.46, 52.91, -58.06)
CIE-LCHlch(46.46, 78.55, 312.34°)
OKLaboklab(56.14% 0.1103 -0.1647)
OKLCHoklch(56.14% 0.198 303.8)
XYZxyz(25.4181, 15.6120, 61.9836)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD1 #8ED14C
analogous
#4C4CD1 #8F4CD1 #D14CD0
triadic
#8F4CD1 #D18F4C #4CD18F
tetradic
#8F4CD1 #D14C4C #8ED14C #4CD0D1
square
#8F4CD1 #D14C4C #8ED14C #4CD0D1
split-complementary
#8F4CD1 #D0D14C #4CD14C
monochromatic
#522181 #702EB2 #8F4CD1 #AD7DDE #CCADEA

Accessibility & contrast

On white

5.09
#8F4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8F4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD1#FFFFFF#000000##FFFFFF
##8F4CD11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#246ECE
Tritanopia (blue-blind)
#836988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4cd1;
/* rgb */ color: rgb(143, 76, 209);
/* oklch */ color: oklch(56.1% 0.198 303.8);
Tailwind
colors: {
  custom: {
    50: '#b482e0',
    500: '#8f4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd1;
$custom-light: #b482e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd1",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 270.226,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.19819,
    "h": 303.8
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#8F4CD1
secondary
#BCD8A1
accent
#E24693
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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