#8F5ECE#8F5ECE

#8F5ECE is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.169 H 301.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8F5ECE
RGBrgb(143, 94, 206)
HSLhsl(266, 53%, 59%)
HSVhsv(266, 54%, 81%)
CMYKcmyk(30.6%, 54.4%, 0%, 19.2%)
CIE-LABlab(49.86, 42.64, -50.89)
CIE-LCHlch(49.86, 66.39, 309.96°)
OKLaboklab(58.56% 0.0884 -0.1436)
OKLCHoklch(58.56% 0.169 301.6)
XYZxyz(26.4684, 18.3012, 60.5186)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ECE #9DCE5E
analogous
#5E65CE #8F5ECE #C75ECE
triadic
#8F5ECE #CE8F5E #5ECE8F
tetradic
#8F5ECE #CE5E65 #9DCE5E #5ECEC7
square
#8F5ECE #CE5E65 #9DCE5E #5ECEC7
split-complementary
#8F5ECE #CEC75E #65CE5E
monochromatic
#532988 #6F38B7 #8F5ECE #B08DDC #D0BCEB

Accessibility & contrast

On white

4.51
#8F5ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8F5ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5ECE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ECE#FFFFFF#000000##000000
##8F5ECE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#83748D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5ece;
/* rgb */ color: rgb(143, 94, 206);
/* oklch */ color: oklch(58.6% 0.169 301.6);
Tailwind
colors: {
  custom: {
    50: '#b38ddd',
    500: '#8f5ece',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ece;
$custom-light: #b38ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ece",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 266.25,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.16866,
    "h": 301.6
  },
  "luminance": 0.18301
}

Semantic roles & 50–950 ramp

primary
#8F5ECE
secondary
#C7DAAE
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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