#8F2296#8F2296

#8F2296 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.193 H 325.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2296
RGBrgb(143, 34, 150)
HSLhsl(296, 63%, 36%)
HSVhsv(296, 77%, 59%)
CMYKcmyk(4.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(36.34, 58.32, -39.47)
CIE-LCHlch(36.34, 70.42, 325.91°)
OKLaboklab(47.68% 0.1592 -0.1099)
OKLCHoklch(47.68% 0.193 325.4)
XYZxyz(17.4043, 9.1869, 29.7048)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2296 #299622
analogous
#552296 #8F2296 #962263
triadic
#8F2296 #968F22 #22968F
tetradic
#8F2296 #965522 #299622 #226396
square
#8F2296 #965522 #299622 #226396
split-complementary
#8F2296 #639622 #229655
monochromatic
#300B32 #5F1764 #8F2296 #BF2DC8 #D259D9

Accessibility & contrast

On white

7.40
#8F2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2296
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2296#FFFFFF#000000##FFFFFF
##8F22961.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#92375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2296;
/* rgb */ color: rgb(143, 34, 150);
/* oklch */ color: oklch(47.7% 0.193 325.4);
Tailwind
colors: {
  custom: {
    50: '#b36ab5',
    500: '#8f2296',
    950: '#000000',
  },
}
SCSS
$custom: #8f2296;
$custom-light: #b36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2296",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 296.379,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.19342,
    "h": 325.4
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#8F2296
secondary
#5CBE56
accent
#E6424C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2296

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

Preview Lab → · Contrast checker → · Palette generator →

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