#8F2293#8F2293

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

Color values

HEX#8F2293
RGBrgb(143, 34, 147)
HSLhsl(298, 62%, 35%)
HSVhsv(298, 77%, 58%)
CMYKcmyk(2.7%, 76.9%, 0%, 42.4%)
CIE-LABlab(36.16, 57.80, -37.93)
CIE-LCHlch(36.16, 69.13, 326.73°)
OKLaboklab(47.49% 0.1593 -0.1054)
OKLCHoklch(47.49% 0.191 326.5)
XYZxyz(17.1659, 9.0915, 28.4488)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2293 #269322
analogous
#562293 #8F2293 #93225E
triadic
#8F2293 #938F22 #22938F
tetradic
#8F2293 #935622 #269322 #225E93
square
#8F2293 #935622 #269322 #225E93
split-complementary
#8F2293 #5E9322 #229356
monochromatic
#2E0B30 #5F1761 #8F2293 #BF2DC5 #D457D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2293#FFFFFF#000000##FFFFFF
##8F22931.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)
#004C96
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#933659
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2293;
/* rgb */ color: rgb(143, 34, 147);
/* oklch */ color: oklch(47.5% 0.191 326.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab3',
    500: '#8f2293',
    950: '#000000',
  },
}
SCSS
$custom: #8f2293;
$custom-light: #b36ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2293",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 297.876,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.19102,
    "h": 326.5
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#8F2293
secondary
#58BC55
accent
#E54248
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2293

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

Preview Lab → · Contrast checker → · Palette generator →

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