#8F229C#8F229C

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

Color values

HEX#8F229C
RGBrgb(143, 34, 156)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 61%)
CMYKcmyk(8.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(36.72, 59.38, -42.52)
CIE-LCHlch(36.72, 73.03, 324.39°)
OKLaboklab(48.06% 0.1587 -0.1188)
OKLCHoklch(48.06% 0.198 323.2)
XYZxyz(17.8999, 9.3851, 32.3147)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F229C #2F9C22
analogous
#52229C #8F229C #9C226C
triadic
#8F229C #9C8F22 #229C8F
tetradic
#8F229C #9C5222 #2F9C22 #226C9C
square
#8F229C #9C5222 #2F9C22 #226C9C
split-complementary
#8F229C #6C9C22 #229C52
monochromatic
#330C38 #61176A #8F229C #BD2DCE #CE5DDC

Accessibility & contrast

On white

7.30
#8F229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F229C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F229C#FFFFFF#000000##FFFFFF
##8F229C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#913A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f229c;
/* rgb */ color: rgb(143, 34, 156);
/* oklch */ color: oklch(48.1% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#b46bba',
    500: '#8f229c',
    950: '#000000',
  },
}
SCSS
$custom: #8f229c;
$custom-light: #b46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f229c",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 293.607,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.19827,
    "h": 323.2
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#8F229C
secondary
#65C05A
accent
#E74152
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8F229C

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

Preview Lab → · Contrast checker → · Palette generator →

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