#8F238A#8F238A

#8F238A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.183 H 330.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8F238A
RGBrgb(143, 35, 138)
HSLhsl(303, 61%, 35%)
HSVhsv(303, 76%, 56%)
CMYKcmyk(0%, 75.5%, 3.5%, 43.9%)
CIE-LABlab(35.75, 55.96, -33.06)
CIE-LCHlch(35.75, 65.00, 329.43°)
OKLaboklab(47.03% 0.1585 -0.0913)
OKLCHoklch(47.03% 0.183 330.1)
XYZxyz(16.5161, 8.8780, 24.8836)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F238A #238F28
analogous
#5E238F #8F238A #8F2354
triadic
#8F238A #8A8F23 #238A8F
tetradic
#8F238A #8F5E23 #238F28 #23548F
square
#8F238A #8F5E23 #238F28 #23548F
split-complementary
#8F238A #548F23 #238F5E
monochromatic
#2D0B2B #5E175B #8F238A #C02FB9 #D657D0

Accessibility & contrast

On white

7.57
#8F238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F238A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F238A#FFFFFF#000000##FFFFFF
##8F238A1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#943255
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f238a;
/* rgb */ color: rgb(143, 35, 138);
/* oklch */ color: oklch(47.0% 0.183 330.1);
Tailwind
colors: {
  custom: {
    50: '#b36aac',
    500: '#8f238a',
    950: '#000000',
  },
}
SCSS
$custom: #8f238a;
$custom-light: #b36aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f238a",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 302.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.1829,
    "h": 330.1
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#8F238A
secondary
#54BA59
accent
#E44B44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F238A

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

Preview Lab → · Contrast checker → · Palette generator →

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