#8F4ECE#8F4ECE

#8F4ECE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.192 H 304.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F4ECE
RGBrgb(143, 78, 206)
HSLhsl(270, 57%, 56%)
HSVhsv(270, 62%, 81%)
CMYKcmyk(30.6%, 62.1%, 0%, 19.2%)
CIE-LABlab(46.64, 51.18, -56.06)
CIE-LCHlch(46.64, 75.91, 312.40°)
OKLaboklab(56.21% 0.1082 -0.1588)
OKLCHoklch(56.21% 0.192 304.3)
XYZxyz(25.1902, 15.7447, 60.0925)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ECE #8DCE4E
analogous
#4F4ECE #8F4ECE #CE4ECD
triadic
#8F4ECE #CE8F4E #4ECE8F
tetradic
#8F4ECE #CE4F4E #8DCE4E #4ECDCE
square
#8F4ECE #CE4F4E #8DCE4E #4ECDCE
split-complementary
#8F4ECE #CDCE4E #4ECE4F
monochromatic
#52237F #7030AE #8F4ECE #AD7EDB #CCAEE9

Accessibility & contrast

On white

5.06
#8F4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4ECE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ECE#FFFFFF#000000##FFFFFF
##8F4ECE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#836987
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4ece;
/* rgb */ color: rgb(143, 78, 206);
/* oklch */ color: oklch(56.2% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#b483de',
    500: '#8f4ece',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ece;
$custom-light: #b483de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ece",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 270.469,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.19211,
    "h": 304.3
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#8F4ECE
secondary
#BBD7A1
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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