#8F229A#8F229A

#8F229A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.197 H 323.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F229A
RGBrgb(143, 34, 154)
HSLhsl(295, 64%, 37%)
HSVhsv(295, 78%, 60%)
CMYKcmyk(7.1%, 77.9%, 0%, 39.6%)
CIE-LABlab(36.59, 59.02, -41.51)
CIE-LCHlch(36.59, 72.15, 324.88°)
OKLaboklab(47.93% 0.1589 -0.1159)
OKLCHoklch(47.93% 0.197 323.9)
XYZxyz(17.7319, 9.3179, 31.4302)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F229A #2D9A22
analogous
#53229A #8F229A #9A2269
triadic
#8F229A #9A8F22 #229A8F
tetradic
#8F229A #9A5322 #2D9A22 #22699A
square
#8F229A #9A5322 #2D9A22 #22699A
split-complementary
#8F229A #699A22 #229A53
monochromatic
#320C36 #601768 #8F229A #BE2DCC #CF5BDB

Accessibility & contrast

On white

7.33
#8F229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F229A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F229A#FFFFFF#000000##FFFFFF
##8F229A1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#92395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f229a;
/* rgb */ color: rgb(143, 34, 154);
/* oklch */ color: oklch(47.9% 0.197 323.9);
Tailwind
colors: {
  custom: {
    50: '#b46ab8',
    500: '#8f229a',
    950: '#000000',
  },
}
SCSS
$custom: #8f229a;
$custom-light: #b46ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f229a",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 294.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.19664,
    "h": 323.9
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#8F229A
secondary
#62BF58
accent
#E74150
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F229A

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

Preview Lab → · Contrast checker → · Palette generator →

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