#8F238F#8F238F

#8F238F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.187 H 328.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8F238F
RGBrgb(143, 35, 143)
HSLhsl(300, 61%, 35%)
HSVhsv(300, 76%, 56%)
CMYKcmyk(0%, 75.5%, 0%, 43.9%)
CIE-LABlab(36.03, 56.80, -35.68)
CIE-LCHlch(36.03, 67.07, 327.86°)
OKLaboklab(47.33% 0.1585 -0.0989)
OKLCHoklch(47.33% 0.187 328)
XYZxyz(16.8864, 9.0261, 26.8341)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F238F #238F23
analogous
#59238F #8F238F #8F2359
triadic
#8F238F #8F8F23 #238F8F
tetradic
#8F238F #8F5923 #238F23 #23598F
square
#8F238F #8F5923 #238F23 #23598F
split-complementary
#8F238F #598F23 #238F59
monochromatic
#2D0B2D #5E175E #8F238F #C02FC0 #D657D6

Accessibility & contrast

On white

7.49
#8F238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F238F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F238F#FFFFFF#000000##FFFFFF
##8F238F1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#943457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f238f;
/* rgb */ color: rgb(143, 35, 143);
/* oklch */ color: oklch(47.3% 0.187 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36ab0',
    500: '#8f238f',
    950: '#000000',
  },
}
SCSS
$custom: #8f238f;
$custom-light: #b36ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f238f",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.18681,
    "h": 328
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#8F238F
secondary
#54BA54
accent
#E44444
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F238F

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

Preview Lab → · Contrast checker → · Palette generator →

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