#8F2193#8F2193

#8F2193 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.192 H 326.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8F2193
RGBrgb(143, 33, 147)
HSLhsl(298, 63%, 35%)
HSVhsv(298, 78%, 58%)
CMYKcmyk(2.7%, 77.6%, 0%, 42.4%)
CIE-LABlab(36.05, 58.11, -38.10)
CIE-LCHlch(36.05, 69.49, 326.75°)
OKLaboklab(47.41% 0.1602 -0.1059)
OKLCHoklch(47.41% 0.192 326.5)
XYZxyz(17.1377, 9.0351, 28.4394)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2193 #259321
analogous
#562193 #8F2193 #93215E
triadic
#8F2193 #938F21 #21938F
tetradic
#8F2193 #935621 #259321 #215E93
square
#8F2193 #935621 #259321 #215E93
split-complementary
#8F2193 #5E9321 #219356
monochromatic
#2E0B2F #5E1661 #8F2193 #C02CC5 #D455D9

Accessibility & contrast

On white

7.48
#8F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2193
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2193#FFFFFF#000000##FFFFFF
##8F21931.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#3E5990
Tritanopia (blue-blind)
#933559
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2193;
/* rgb */ color: rgb(143, 33, 147);
/* oklch */ color: oklch(47.4% 0.192 326.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab3',
    500: '#8f2193',
    950: '#000000',
  },
}
SCSS
$custom: #8f2193;
$custom-light: #b36ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2193",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 297.895,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.19202,
    "h": 326.5
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#8F2193
secondary
#57BD53
accent
#E64147
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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