#8F239E#8F239E

#8F239E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.199 H 322.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8F239E
RGBrgb(143, 35, 158)
HSLhsl(293, 64%, 38%)
HSVhsv(293, 78%, 62%)
CMYKcmyk(9.5%, 77.8%, 0%, 38%)
CIE-LABlab(36.95, 59.42, -43.35)
CIE-LCHlch(36.95, 73.56, 323.89°)
OKLaboklab(48.27% 0.1577 -0.1213)
OKLCHoklch(48.27% 0.199 322.4)
XYZxyz(18.0997, 9.5114, 33.2237)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F239E #329E23
analogous
#51239E #8F239E #9E236F
triadic
#8F239E #9E8F23 #239E8F
tetradic
#8F239E #9E5123 #329E23 #236F9E
square
#8F239E #9E5123 #329E23 #236F9E
split-complementary
#8F239E #6F9E23 #239E51
monochromatic
#340D3A #62186C #8F239E #BC2ED0 #CD60DC

Accessibility & contrast

On white

7.24
#8F239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F239E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F239E#FFFFFF#000000##FFFFFF
##8F239E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#913C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f239e;
/* rgb */ color: rgb(143, 35, 158);
/* oklch */ color: oklch(48.3% 0.199 322.4);
Tailwind
colors: {
  custom: {
    50: '#b46bbb',
    500: '#8f239e',
    950: '#000000',
  },
}
SCSS
$custom: #8f239e;
$custom-light: #b46bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f239e",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 292.683,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.19894,
    "h": 322.4
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#8F239E
secondary
#68C15C
accent
#E74155
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8F239E

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

Preview Lab → · Contrast checker → · Palette generator →

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