#8F4EBE#8F4EBE

#8F4EBE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.174 H 308.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F4EBE
RGBrgb(143, 78, 190)
HSLhsl(275, 46%, 53%)
HSVhsv(275, 59%, 75%)
CMYKcmyk(24.7%, 58.9%, 0%, 25.5%)
CIE-LABlab(45.64, 47.42, -48.40)
CIE-LCHlch(45.64, 67.76, 314.42°)
OKLaboklab(55.16% 0.1085 -0.1363)
OKLCHoklch(55.16% 0.174 308.5)
XYZxyz(23.3445, 15.0065, 50.3720)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EBE #7DBE4E
analogous
#574EBE #8F4EBE #BE4EB5
triadic
#8F4EBE #BE8F4E #4EBE8F
tetradic
#8F4EBE #BE574E #7DBE4E #4EB5BE
square
#8F4EBE #BE574E #7DBE4E #4EB5BE
split-complementary
#8F4EBE #B5BE4E #4EBE57
monochromatic
#4E276A #6F3897 #8F4EBE #AB7BCE #C8A8DF

Accessibility & contrast

On white

5.25
#8F4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EBE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EBE#FFFFFF#000000##FFFFFF
##8F4EBE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#88637F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4ebe;
/* rgb */ color: rgb(143, 78, 190);
/* oklch */ color: oklch(55.2% 0.174 308.5);
Tailwind
colors: {
  custom: {
    50: '#b383d2',
    500: '#8f4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ebe;
$custom-light: #b383d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ebe",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 274.821,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.17423,
    "h": 308.5
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#8F4EBE
secondary
#B0CC9C
accent
#D65289
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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