#8D2F92#8D2F92

#8D2F92 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.174 H 325.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D2F92
RGBrgb(141, 47, 146)
HSLhsl(297, 51%, 38%)
HSVhsv(297, 68%, 57%)
CMYKcmyk(3.4%, 67.8%, 0%, 42.7%)
CIE-LABlab(37.43, 52.45, -35.32)
CIE-LCHlch(37.43, 63.23, 326.05°)
OKLaboklab(48.32% 0.1439 -0.098)
OKLCHoklch(48.32% 0.174 325.7)
XYZxyz(17.1890, 9.7722, 28.1694)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F92 #34922F
analogous
#5C2F92 #8D2F92 #922F65
triadic
#8D2F92 #928D2F #2F928D
tetradic
#8D2F92 #925C2F #34922F #2F6592
square
#8D2F92 #925C2F #34922F #2F6592
split-complementary
#8D2F92 #65922F #2F925C
monochromatic
#341135 #602064 #8D2F92 #BA3EC0 #CB6CD0

Accessibility & contrast

On white

7.11
#8D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F92
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F92#FFFFFF#000000##FFFFFF
##8D2F921.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5195
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#903E5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2f92;
/* rgb */ color: rgb(141, 47, 146);
/* oklch */ color: oklch(48.3% 0.174 325.7);
Tailwind
colors: {
  custom: {
    50: '#b170b2',
    500: '#8d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f92;
$custom-light: #b170b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f92",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 296.97,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.17405,
    "h": 325.7
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#8D2F92
secondary
#6AB766
accent
#DB4D54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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