#8F239F#8F239F

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

Color values

HEX#8F239F
RGBrgb(143, 35, 159)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.1%, 78%, 0%, 37.6%)
CIE-LABlab(37.02, 59.61, -43.85)
CIE-LCHlch(37.02, 74.00, 323.66°)
OKLaboklab(48.34% 0.1576 -0.1227)
OKLCHoklch(48.34% 0.2 322.1)
XYZxyz(18.1861, 9.5460, 33.6788)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F239F #339F23
analogous
#51239F #8F239F #9F2371
triadic
#8F239F #9F8F23 #239F8F
tetradic
#8F239F #9F5123 #339F23 #23719F
square
#8F239F #9F5123 #339F23 #23719F
split-complementary
#8F239F #719F23 #239F51
monochromatic
#350D3B #62186D #8F239F #BC2ED1 #CC60DC

Accessibility & contrast

On white

7.22
#8F239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F239F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F239F#FFFFFF#000000##FFFFFF
##8F239F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#913C61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f239f;
/* rgb */ color: rgb(143, 35, 159);
/* oklch */ color: oklch(48.3% 0.200 322.1);
Tailwind
colors: {
  custom: {
    50: '#b46bbc',
    500: '#8f239f',
    950: '#000000',
  },
}
SCSS
$custom: #8f239f;
$custom-light: #b46bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f239f",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 292.258,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.19975,
    "h": 322.1
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#8F239F
secondary
#6AC15D
accent
#E74156
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F239F

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

Preview Lab → · Contrast checker → · Palette generator →

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