#8F2492#8F2492

#8F2492 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.188 H 326.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F2492
RGBrgb(143, 36, 146)
HSLhsl(298, 60%, 36%)
HSVhsv(298, 75%, 57%)
CMYKcmyk(2.1%, 75.3%, 0%, 42.7%)
CIE-LABlab(36.32, 56.98, -37.05)
CIE-LCHlch(36.32, 67.97, 326.97°)
OKLaboklab(47.59% 0.1575 -0.1029)
OKLCHoklch(47.59% 0.188 326.8)
XYZxyz(17.1466, 9.1779, 28.0570)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2492 #279224
analogous
#582492 #8F2492 #92245E
triadic
#8F2492 #928F24 #24928F
tetradic
#8F2492 #925824 #279224 #245E92
square
#8F2492 #925824 #279224 #245E92
split-complementary
#8F2492 #5E9224 #249258
monochromatic
#2F0C30 #5F1861 #8F2492 #BF30C3 #D35AD6

Accessibility & contrast

On white

7.41
#8F2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2492
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2492#FFFFFF#000000##FFFFFF
##8F24921.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D95
Deuteranopia (green-blind)
#405A8F
Tritanopia (blue-blind)
#933659
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2492;
/* rgb */ color: rgb(143, 36, 146);
/* oklch */ color: oklch(47.6% 0.188 326.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8f2492',
    950: '#000000',
  },
}
SCSS
$custom: #8f2492;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2492",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 298.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.18815,
    "h": 326.8
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#8F2492
secondary
#5ABB57
accent
#E44449
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2492

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

Preview Lab → · Contrast checker → · Palette generator →

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