#8F4CCD#8F4CCD

#8F4CCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.194 H 304.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8F4CCD
RGBrgb(143, 76, 205)
HSLhsl(271, 56%, 55%)
HSVhsv(271, 63%, 80%)
CMYKcmyk(30.2%, 62.9%, 0%, 19.6%)
CIE-LABlab(46.20, 51.96, -56.19)
CIE-LCHlch(46.20, 76.53, 312.76°)
OKLaboklab(55.87% 0.1106 -0.1592)
OKLCHoklch(55.87% 0.194 304.8)
XYZxyz(24.9291, 15.4164, 59.4081)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CCD #8ACD4C
analogous
#4F4CCD #8F4CCD #CD4CCA
triadic
#8F4CCD #CD8F4C #4CCD8F
tetradic
#8F4CCD #CD4F4C #8ACD4C #4CCACD
square
#8F4CCD #CD4F4C #8ACD4C #4CCACD
split-complementary
#8F4CCD #CACD4C #4CCD4F
monochromatic
#51237C #7030AC #8F4CCD #AD7CDA #CBACE8

Accessibility & contrast

On white

5.14
#8F4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8F4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CCD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CCD#FFFFFF#000000##FFFFFF
##8F4CCD1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#846786
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4ccd;
/* rgb */ color: rgb(143, 76, 205);
/* oklch */ color: oklch(55.9% 0.194 304.8);
Tailwind
colors: {
  custom: {
    50: '#b482dd',
    500: '#8f4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ccd;
$custom-light: #b482dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ccd",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 271.163,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.19378,
    "h": 304.8
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#8F4CCD
secondary
#B9D59F
accent
#E04891
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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