#8F2194#8F2194

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

Color values

HEX#8F2194
RGBrgb(143, 33, 148)
HSLhsl(297, 64%, 35%)
HSVhsv(297, 78%, 58%)
CMYKcmyk(3.4%, 77.7%, 0%, 42%)
CIE-LABlab(36.11, 58.28, -38.62)
CIE-LCHlch(36.11, 69.91, 326.47°)
OKLaboklab(47.48% 0.1601 -0.1074)
OKLCHoklch(47.48% 0.193 326.1)
XYZxyz(17.2165, 9.0667, 28.8545)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2194 #269421
analogous
#552194 #8F2194 #942160
triadic
#8F2194 #948F21 #21948F
tetradic
#8F2194 #945521 #269421 #216094
square
#8F2194 #945521 #269421 #216094
split-complementary
#8F2194 #609421 #219455
monochromatic
#2E0B30 #5F1662 #8F2194 #BF2CC6 #D456D9

Accessibility & contrast

On white

7.47
#8F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2194
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2194#FFFFFF#000000##FFFFFF
##8F21941.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2194;
/* rgb */ color: rgb(143, 33, 148);
/* oklch */ color: oklch(47.5% 0.193 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab4',
    500: '#8f2194',
    950: '#000000',
  },
}
SCSS
$custom: #8f2194;
$custom-light: #b36ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2194",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 297.391,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.19281,
    "h": 326.1
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#8F2194
secondary
#58BD54
accent
#E74148
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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