#8F2498#8F2498

#8F2498 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.193 H 324.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8F2498
RGBrgb(143, 36, 152)
HSLhsl(295, 62%, 37%)
HSVhsv(295, 76%, 60%)
CMYKcmyk(5.9%, 76.3%, 0%, 40.4%)
CIE-LABlab(36.69, 58.03, -40.14)
CIE-LCHlch(36.69, 70.56, 325.33°)
OKLaboklab(47.96% 0.1573 -0.1119)
OKLCHoklch(47.96% 0.193 324.6)
XYZxyz(17.6256, 9.3695, 30.5798)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2498 #2D9824
analogous
#552498 #8F2498 #982467
triadic
#8F2498 #988F24 #24988F
tetradic
#8F2498 #985524 #2D9824 #246798
square
#8F2498 #985524 #2D9824 #246798
split-complementary
#8F2498 #679824 #249855
monochromatic
#320D35 #601867 #8F2498 #BE30C9 #CF5ED9

Accessibility & contrast

On white

7.31
#8F2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2498
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2498#FFFFFF#000000##FFFFFF
##8F24981.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#92395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2498;
/* rgb */ color: rgb(143, 36, 152);
/* oklch */ color: oklch(48.0% 0.193 324.6);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8f2498',
    950: '#000000',
  },
}
SCSS
$custom: #8f2498;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2498",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 295.345,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47963,
    "c": 0.19301,
    "h": 324.6
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#8F2498
secondary
#62BE5A
accent
#E54350
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2498

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

Preview Lab → · Contrast checker → · Palette generator →

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