#8F2D9D#8F2D9D

#8F2D9D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 322.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2D9D
RGBrgb(143, 45, 157)
HSLhsl(293, 55%, 40%)
HSVhsv(293, 71%, 62%)
CMYKcmyk(8.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(38.11, 55.74, -40.89)
CIE-LCHlch(38.11, 69.13, 323.74°)
OKLaboklab(49.08% 0.1483 -0.1141)
OKLCHoklch(49.08% 0.187 322.4)
XYZxyz(18.3513, 10.1518, 32.8846)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D9D #3B9D2D
analogous
#572D9D #8F2D9D #9D2D73
triadic
#8F2D9D #9D8F2D #2D9D8F
tetradic
#8F2D9D #9D572D #3B9D2D #2D739D
square
#8F2D9D #9D572D #3B9D2D #2D739D
split-complementary
#8F2D9D #739D2D #2D9D57
monochromatic
#38123E #641F6D #8F2D9D #B73FC8 #C96FD6

Accessibility & contrast

On white

6.93
#8F2D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F2D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2D9D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D9D#FFFFFF#000000##FFFFFF
##8F2D9D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#914162
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2d9d;
/* rgb */ color: rgb(143, 45, 157);
/* oklch */ color: oklch(49.1% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#b36fba',
    500: '#8f2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d9d;
$custom-light: #b36fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d9d",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 292.5,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.18712,
    "h": 322.4
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#8F2D9D
secondary
#73BD69
accent
#DF495C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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