#8F4DCD#8F4DCD

#8F4DCD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.192 H 304.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F4DCD
RGBrgb(143, 77, 205)
HSLhsl(271, 56%, 55%)
HSVhsv(271, 62%, 80%)
CMYKcmyk(30.2%, 62.4%, 0%, 19.6%)
CIE-LABlab(46.39, 51.45, -55.89)
CIE-LCHlch(46.39, 75.96, 312.63°)
OKLaboklab(56% 0.1094 -0.1583)
OKLCHoklch(56% 0.192 304.7)
XYZxyz(24.9986, 15.5553, 59.4313)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DCD #8BCD4D
analogous
#4F4DCD #8F4DCD #CD4DCB
triadic
#8F4DCD #CD8F4D #4DCD8F
tetradic
#8F4DCD #CD4F4D #8BCD4D #4DCBCD
square
#8F4DCD #CD4F4D #8BCD4D #4DCBCD
split-complementary
#8F4DCD #CBCD4D #4DCD4F
monochromatic
#51237D #7030AC #8F4DCD #AD7DDA #CBADE8

Accessibility & contrast

On white

5.11
#8F4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DCD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DCD#FFFFFF#000000##FFFFFF
##8F4DCD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#846886
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4dcd;
/* rgb */ color: rgb(143, 77, 205);
/* oklch */ color: oklch(56.0% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#b482dd',
    500: '#8f4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dcd;
$custom-light: #b482dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dcd",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 270.938,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.19239,
    "h": 304.7
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#8F4DCD
secondary
#BAD6A0
accent
#DF4892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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