#8F2598#8F2598

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

Color values

HEX#8F2598
RGBrgb(143, 37, 152)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 76%, 60%)
CMYKcmyk(5.9%, 75.7%, 0%, 40.4%)
CIE-LABlab(36.80, 57.70, -39.95)
CIE-LCHlch(36.80, 70.18, 325.30°)
OKLaboklab(48.04% 0.1564 -0.1113)
OKLCHoklch(48.04% 0.192 324.5)
XYZxyz(17.6563, 9.4309, 30.5900)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2598 #2E9825
analogous
#552598 #8F2598 #982568
triadic
#8F2598 #988F25 #25988F
tetradic
#8F2598 #985525 #2E9825 #256898
square
#8F2598 #985525 #2E9825 #256898
split-complementary
#8F2598 #689825 #259855
monochromatic
#320D36 #611967 #8F2598 #BD31C9 #CF5FD8

Accessibility & contrast

On white

7.28
#8F2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2598
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2598#FFFFFF#000000##FFFFFF
##8F25981.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#923A5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2598;
/* rgb */ color: rgb(143, 37, 152);
/* oklch */ color: oklch(48.0% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#b36cb7',
    500: '#8f2598',
    950: '#000000',
  },
}
SCSS
$custom: #8f2598;
$custom-light: #b36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2598",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 295.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.19196,
    "h": 324.5
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#8F2598
secondary
#63BD5C
accent
#E44450
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2598

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

Preview Lab → · Contrast checker → · Palette generator →

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