#8F239A#8F239A

#8F239A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 323.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8F239A
RGBrgb(143, 35, 154)
HSLhsl(294, 63%, 37%)
HSVhsv(294, 77%, 60%)
CMYKcmyk(7.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(36.70, 58.71, -41.33)
CIE-LCHlch(36.70, 71.80, 324.85°)
OKLaboklab(48.01% 0.158 -0.1154)
OKLCHoklch(48.01% 0.196 323.9)
XYZxyz(17.7609, 9.3759, 31.4398)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F239A #2E9A23
analogous
#54239A #8F239A #9A236A
triadic
#8F239A #9A8F23 #239A8F
tetradic
#8F239A #9A5423 #2E9A23 #236A9A
square
#8F239A #9A5423 #2E9A23 #236A9A
split-complementary
#8F239A #6A9A23 #239A54
monochromatic
#320C36 #611868 #8F239A #BD2ECC #CF5DDA

Accessibility & contrast

On white

7.30
#8F239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F239A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F239A#FFFFFF#000000##FFFFFF
##8F239A1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#923A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f239a;
/* rgb */ color: rgb(143, 35, 154);
/* oklch */ color: oklch(48.0% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b46bb8',
    500: '#8f239a',
    950: '#000000',
  },
}
SCSS
$custom: #8f239a;
$custom-light: #b46bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f239a",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 294.454,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.19565,
    "h": 323.9
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#8F239A
secondary
#63BF5A
accent
#E64251
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F239A

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

Preview Lab → · Contrast checker → · Palette generator →

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