#8F3EBE#8F3EBE

#8F3EBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.1% C 0.197 H 310.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8F3EBE
RGBrgb(143, 62, 190)
HSLhsl(278, 51%, 49%)
HSVhsv(278, 67%, 75%)
CMYKcmyk(24.7%, 67.4%, 0%, 25.5%)
CIE-LABlab(42.77, 55.27, -53.02)
CIE-LCHlch(42.77, 76.59, 316.19°)
OKLaboklab(53.08% 0.1276 -0.1498)
OKLCHoklch(53.08% 0.197 310.4)
XYZxyz(22.3428, 13.0031, 50.0381)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EBE #6DBE3E
analogous
#4F3EBE #8F3EBE #BE3EAD
triadic
#8F3EBE #BE8F3E #3EBE8F
tetradic
#8F3EBE #BE4F3E #6DBE3E #3EADBE
square
#8F3EBE #BE4F3E #6DBE3E #3EADBE
split-complementary
#8F3EBE #ADBE3E #3EBE4F
monochromatic
#4A2062 #6C2F90 #8F3EBE #AA6BCF #C499DE

Accessibility & contrast

On white

5.83
#8F3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EBE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EBE#FFFFFF#000000##FFFFFF
##8F3EBE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#895979
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ebe;
/* rgb */ color: rgb(143, 62, 190);
/* oklch */ color: oklch(53.1% 0.197 310.4);
Tailwind
colors: {
  custom: {
    50: '#b479d2',
    500: '#8f3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ebe;
$custom-light: #b479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ebe",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 277.969,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.19678,
    "h": 310.4
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#8F3EBE
secondary
#A4C98E
accent
#DA4E81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8F3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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