#8F2E9C#8F2E9C

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

Color values

HEX#8F2E9C
RGBrgb(143, 46, 156)
HSLhsl(293, 54%, 40%)
HSVhsv(293, 71%, 61%)
CMYKcmyk(8.3%, 70.5%, 0%, 38.8%)
CIE-LABlab(38.19, 55.17, -40.16)
CIE-LCHlch(38.19, 68.24, 323.95°)
OKLaboklab(49.11% 0.1473 -0.112)
OKLCHoklch(49.11% 0.185 322.7)
XYZxyz(18.3048, 10.1950, 32.4497)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E9C #3B9C2E
analogous
#582E9C #8F2E9C #9C2E72
triadic
#8F2E9C #9C8F2E #2E9C8F
tetradic
#8F2E9C #9C582E #3B9C2E #2E729C
square
#8F2E9C #9C582E #3B9C2E #2E729C
split-complementary
#8F2E9C #729C2E #2E9C58
monochromatic
#38123D #64206D #8F2E9C #B740C7 #C970D5

Accessibility & contrast

On white

6.91
#8F2E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F2E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E9C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E9C#FFFFFF#000000##FFFFFF
##8F2E9C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#3E5E99
Tritanopia (blue-blind)
#914162
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2e9c;
/* rgb */ color: rgb(143, 46, 156);
/* oklch */ color: oklch(49.1% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#b370ba',
    500: '#8f2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e9c;
$custom-light: #b370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e9c",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 292.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.18503,
    "h": 322.7
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#8F2E9C
secondary
#73BC6A
accent
#DE4A5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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