#8F2196#8F2196

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

Color values

HEX#8F2196
RGBrgb(143, 33, 150)
HSLhsl(296, 64%, 36%)
HSVhsv(296, 78%, 59%)
CMYKcmyk(4.7%, 78%, 0%, 41.2%)
CIE-LABlab(36.23, 58.63, -39.64)
CIE-LCHlch(36.23, 70.77, 325.94°)
OKLaboklab(47.6% 0.16 -0.1104)
OKLCHoklch(47.6% 0.194 325.4)
XYZxyz(17.3762, 9.1305, 29.6954)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2196 #289621
analogous
#542196 #8F2196 #962162
triadic
#8F2196 #968F21 #21968F
tetradic
#8F2196 #965421 #289621 #216296
square
#8F2196 #965421 #289621 #216296
split-complementary
#8F2196 #629621 #219654
monochromatic
#2F0B32 #5F1664 #8F2196 #BF2CC8 #D257DA

Accessibility & contrast

On white

7.43
#8F2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2196
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2196#FFFFFF#000000##FFFFFF
##8F21961.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3B5A93
Tritanopia (blue-blind)
#92375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2196;
/* rgb */ color: rgb(143, 33, 150);
/* oklch */ color: oklch(47.6% 0.194 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab5',
    500: '#8f2196',
    950: '#000000',
  },
}
SCSS
$custom: #8f2196;
$custom-light: #b46ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2196",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 296.41,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.1944,
    "h": 325.4
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#8F2196
secondary
#5BBE55
accent
#E7414B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2196

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

Preview Lab → · Contrast checker → · Palette generator →

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