#8F2A95#8F2A95

#8F2A95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.184 H 325.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F2A95
RGBrgb(143, 42, 149)
HSLhsl(297, 56%, 37%)
HSVhsv(297, 72%, 58%)
CMYKcmyk(4%, 71.8%, 0%, 41.6%)
CIE-LABlab(37.24, 55.41, -37.43)
CIE-LCHlch(37.24, 66.87, 325.96°)
OKLaboklab(48.3% 0.1516 -0.104)
OKLCHoklch(48.3% 0.184 325.5)
XYZxyz(17.5801, 9.6666, 29.3678)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A95 #30952A
analogous
#5A2A95 #8F2A95 #952A65
triadic
#8F2A95 #958F2A #2A958F
tetradic
#8F2A95 #955A2A #30952A #2A6595
square
#8F2A95 #955A2A #30952A #2A6595
split-complementary
#8F2A95 #65952A #2A955A
monochromatic
#330F36 #611D65 #8F2A95 #BD37C5 #CE66D4

Accessibility & contrast

On white

7.16
#8F2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A95
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A95#FFFFFF#000000##FFFFFF
##8F2A951.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#923B5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2a95;
/* rgb */ color: rgb(143, 42, 149);
/* oklch */ color: oklch(48.3% 0.184 325.5);
Tailwind
colors: {
  custom: {
    50: '#b36eb4',
    500: '#8f2a95',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a95;
$custom-light: #b36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a95",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 296.636,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.18387,
    "h": 325.5
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#8F2A95
secondary
#66BA61
accent
#DF4851
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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