#8F239B#8F239B

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

Color values

HEX#8F239B
RGBrgb(143, 35, 155)
HSLhsl(294, 63%, 37%)
HSVhsv(294, 77%, 61%)
CMYKcmyk(7.7%, 77.4%, 0%, 39.2%)
CIE-LABlab(36.76, 58.89, -41.84)
CIE-LCHlch(36.76, 72.24, 324.61°)
OKLaboklab(48.08% 0.158 -0.1168)
OKLCHoklch(48.08% 0.196 323.5)
XYZxyz(17.8446, 9.4094, 31.8803)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F239B #2F9B23
analogous
#53239B #8F239B #9B236B
triadic
#8F239B #9B8F23 #239B8F
tetradic
#8F239B #9B5323 #2F9B23 #236B9B
square
#8F239B #9B5323 #2F9B23 #236B9B
split-complementary
#8F239B #6B9B23 #239B53
monochromatic
#330C37 #611869 #8F239B #BD2ECD #CE5EDB

Accessibility & contrast

On white

7.29
#8F239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F239B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F239B#FFFFFF#000000##FFFFFF
##8F239B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#913A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f239b;
/* rgb */ color: rgb(143, 35, 155);
/* oklch */ color: oklch(48.1% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#b46bb9',
    500: '#8f239b',
    950: '#000000',
  },
}
SCSS
$custom: #8f239b;
$custom-light: #b46bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f239b",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 294,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.19647,
    "h": 323.5
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#8F239B
secondary
#65BF5A
accent
#E64252
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F239B

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

Preview Lab → · Contrast checker → · Palette generator →

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