#8F2D9C#8F2D9C

#8F2D9C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.186 H 322.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F2D9C
RGBrgb(143, 45, 156)
HSLhsl(293, 55%, 39%)
HSVhsv(293, 71%, 61%)
CMYKcmyk(8.3%, 71.2%, 0%, 38.8%)
CIE-LABlab(38.05, 55.55, -40.38)
CIE-LCHlch(38.05, 68.68, 323.99°)
OKLaboklab(49.02% 0.1483 -0.1126)
OKLCHoklch(49.02% 0.186 322.8)
XYZxyz(18.2662, 10.1178, 32.4368)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D9C #3A9C2D
analogous
#582D9C #8F2D9C #9C2D72
triadic
#8F2D9C #9C8F2D #2D9C8F
tetradic
#8F2D9C #9C582D #3A9C2D #2D729C
square
#8F2D9C #9C582D #3A9C2D #2D729C
split-complementary
#8F2D9C #729C2D #2D9C58
monochromatic
#38123D #631F6D #8F2D9C #B73FC8 #C96ED5

Accessibility & contrast

On white

6.95
#8F2D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F2D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2D9C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D9C#FFFFFF#000000##FFFFFF
##8F2D9C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#3E5D99
Tritanopia (blue-blind)
#914061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2d9c;
/* rgb */ color: rgb(143, 45, 156);
/* oklch */ color: oklch(49.0% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#b36fba',
    500: '#8f2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d9c;
$custom-light: #b36fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d9c",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 292.973,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.18625,
    "h": 322.8
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#8F2D9C
secondary
#72BC68
accent
#DF495B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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