#8F238D#8F238D

#8F238D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.185 H 328.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8F238D
RGBrgb(143, 35, 141)
HSLhsl(301, 61%, 35%)
HSVhsv(301, 76%, 56%)
CMYKcmyk(0%, 75.5%, 1.4%, 43.9%)
CIE-LABlab(35.92, 56.46, -34.63)
CIE-LCHlch(35.92, 66.24, 328.47°)
OKLaboklab(47.21% 0.1585 -0.0958)
OKLCHoklch(47.21% 0.185 328.8)
XYZxyz(16.7363, 8.9660, 26.0433)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F238D #238F25
analogous
#5B238F #8F238D #8F2357
triadic
#8F238D #8D8F23 #238D8F
tetradic
#8F238D #8F5B23 #238F25 #23578F
square
#8F238D #8F5B23 #238F25 #23578F
split-complementary
#8F238D #578F23 #238F5B
monochromatic
#2D0B2C #5E175D #8F238D #C02FBD #D657D3

Accessibility & contrast

On white

7.52
#8F238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F238D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F238D#FFFFFF#000000##FFFFFF
##8F238D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#943356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f238d;
/* rgb */ color: rgb(143, 35, 141);
/* oklch */ color: oklch(47.2% 0.185 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36aaf',
    500: '#8f238d',
    950: '#000000',
  },
}
SCSS
$custom: #8f238d;
$custom-light: #b36aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f238d",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 301.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.18524,
    "h": 328.8
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#8F238D
secondary
#54BA56
accent
#E44744
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F238D

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

Preview Lab → · Contrast checker → · Palette generator →

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