#8F2195#8F2195

#8F2195 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.194 H 325.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2195
RGBrgb(143, 33, 149)
HSLhsl(297, 64%, 36%)
HSVhsv(297, 78%, 58%)
CMYKcmyk(4%, 77.9%, 0%, 41.6%)
CIE-LABlab(36.17, 58.45, -39.13)
CIE-LCHlch(36.17, 70.34, 326.20°)
OKLaboklab(47.54% 0.1601 -0.1089)
OKLCHoklch(47.54% 0.194 325.8)
XYZxyz(17.2960, 9.0985, 29.2731)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2195 #279521
analogous
#552195 #8F2195 #952161
triadic
#8F2195 #958F21 #21958F
tetradic
#8F2195 #955521 #279521 #216195
square
#8F2195 #955521 #279521 #216195
split-complementary
#8F2195 #619521 #219555
monochromatic
#2F0B31 #5F1663 #8F2195 #BF2CC7 #D357DA

Accessibility & contrast

On white

7.45
#8F2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2195
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2195#FFFFFF#000000##FFFFFF
##8F21951.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#3C5A92
Tritanopia (blue-blind)
#93365A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2195;
/* rgb */ color: rgb(143, 33, 149);
/* oklch */ color: oklch(47.5% 0.194 325.8);
Tailwind
colors: {
  custom: {
    50: '#b36ab5',
    500: '#8f2195',
    950: '#000000',
  },
}
SCSS
$custom: #8f2195;
$custom-light: #b36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2195",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 296.897,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47539,
    "c": 0.1936,
    "h": 325.8
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8F2195
secondary
#5ABE54
accent
#E7414A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2195

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

Preview Lab → · Contrast checker → · Palette generator →

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