#8F229F#8F229F

#8F229F is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.201 H 322.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8F229F
RGBrgb(143, 34, 159)
HSLhsl(292, 65%, 38%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.1%, 78.6%, 0%, 37.6%)
CIE-LABlab(36.91, 59.92, -44.03)
CIE-LCHlch(36.91, 74.35, 323.69°)
OKLaboklab(48.26% 0.1584 -0.1232)
OKLCHoklch(48.26% 0.201 322.1)
XYZxyz(18.1571, 9.4880, 33.6692)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F229F #329F22
analogous
#50229F #8F229F #9F2270
triadic
#8F229F #9F8F22 #229F8F
tetradic
#8F229F #9F5022 #329F22 #22709F
square
#8F229F #9F5022 #329F22 #22709F
split-complementary
#8F229F #709F22 #229F50
monochromatic
#340C3A #62176D #8F229F #BC2DD1 #CD5FDD

Accessibility & contrast

On white

7.25
#8F229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F229F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F229F#FFFFFF#000000##FFFFFF
##8F229F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#913C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f229f;
/* rgb */ color: rgb(143, 34, 159);
/* oklch */ color: oklch(48.3% 0.201 322.1);
Tailwind
colors: {
  custom: {
    50: '#b46bbc',
    500: '#8f229f',
    950: '#000000',
  },
}
SCSS
$custom: #8f229f;
$custom-light: #b46bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f229f",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 292.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.20072,
    "h": 322.1
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#8F229F
secondary
#68C15B
accent
#E84056
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F229F

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

Preview Lab → · Contrast checker → · Palette generator →

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