#8F2294#8F2294

#8F2294 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.192 H 326.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2294
RGBrgb(143, 34, 148)
HSLhsl(297, 63%, 36%)
HSVhsv(297, 77%, 58%)
CMYKcmyk(3.4%, 77%, 0%, 42%)
CIE-LABlab(36.22, 57.97, -38.44)
CIE-LCHlch(36.22, 69.56, 326.45°)
OKLaboklab(47.55% 0.1593 -0.1069)
OKLCHoklch(47.55% 0.192 326.1)
XYZxyz(17.2447, 9.1230, 28.8639)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2294 #279422
analogous
#562294 #8F2294 #942260
triadic
#8F2294 #948F22 #22948F
tetradic
#8F2294 #945622 #279422 #226094
square
#8F2294 #945622 #279422 #226094
split-complementary
#8F2294 #609422 #229456
monochromatic
#2F0B30 #5F1762 #8F2294 #BF2DC6 #D358D9

Accessibility & contrast

On white

7.44
#8F2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2294
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2294#FFFFFF#000000##FFFFFF
##8F22941.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2294;
/* rgb */ color: rgb(143, 34, 148);
/* oklch */ color: oklch(47.6% 0.192 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab4',
    500: '#8f2294',
    950: '#000000',
  },
}
SCSS
$custom: #8f2294;
$custom-light: #b36ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2294",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 297.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47553,
    "c": 0.19182,
    "h": 326.1
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#8F2294
secondary
#5ABD55
accent
#E64249
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2294

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

Preview Lab → · Contrast checker → · Palette generator →

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