#8F4DCE#8F4DCE

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

Color values

HEX#8F4DCE
RGBrgb(143, 77, 206)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 63%, 81%)
CMYKcmyk(30.6%, 62.6%, 0%, 19.2%)
CIE-LABlab(46.45, 51.69, -56.36)
CIE-LCHlch(46.45, 76.47, 312.52°)
OKLaboklab(56.07% 0.1093 -0.1597)
OKLCHoklch(56.07% 0.194 304.4)
XYZxyz(25.1197, 15.6037, 60.0690)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DCE #8CCE4D
analogous
#4F4DCE #8F4DCE #CE4DCC
triadic
#8F4DCE #CE8F4D #4DCE8F
tetradic
#8F4DCE #CE4F4D #8CCE4D #4DCCCE
square
#8F4DCE #CE4F4D #8CCE4D #4DCCCE
split-complementary
#8F4DCE #CCCE4D #4DCE4F
monochromatic
#51237E #7030AE #8F4DCE #AD7DDB #CBADE8

Accessibility & contrast

On white

5.10
#8F4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4DCE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DCE#FFFFFF#000000##FFFFFF
##8F4DCE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#836886
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4dce;
/* rgb */ color: rgb(143, 77, 206);
/* oklch */ color: oklch(56.1% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#b482de',
    500: '#8f4dce',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dce;
$custom-light: #b482de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dce",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 270.698,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.19351,
    "h": 304.4
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#8F4DCE
secondary
#BBD6A1
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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