#8F3EBD#8F3EBD

#8F3EBD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.196 H 310.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F3EBD
RGBrgb(143, 62, 189)
HSLhsl(278, 51%, 49%)
HSVhsv(278, 67%, 74%)
CMYKcmyk(24.3%, 67.2%, 0%, 25.9%)
CIE-LABlab(42.70, 55.05, -52.54)
CIE-LCHlch(42.70, 76.10, 316.34°)
OKLaboklab(53.02% 0.1277 -0.1484)
OKLCHoklch(53.02% 0.196 310.7)
XYZxyz(22.2339, 12.9595, 49.4644)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EBD #6CBD3E
analogous
#503EBD #8F3EBD #BD3EAC
triadic
#8F3EBD #BD8F3E #3EBD8F
tetradic
#8F3EBD #BD503E #6CBD3E #3EACBD
square
#8F3EBD #BD503E #6CBD3E #3EACBD
split-complementary
#8F3EBD #ACBD3E #3EBD50
monochromatic
#492061 #6C2F8F #8F3EBD #AA6ACE #C498DD

Accessibility & contrast

On white

5.85
#8F3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EBD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EBD#FFFFFF#000000##FFFFFF
##8F3EBD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#895878
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ebd;
/* rgb */ color: rgb(143, 62, 189);
/* oklch */ color: oklch(53.0% 0.196 310.7);
Tailwind
colors: {
  custom: {
    50: '#b479d2',
    500: '#8f3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ebd;
$custom-light: #b479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ebd",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 278.268,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.19576,
    "h": 310.7
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#8F3EBD
secondary
#A3C98E
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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