#8D2598#8D2598

#8D2598 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.191 H 323.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D2598
RGBrgb(141, 37, 152)
HSLhsl(294, 61%, 37%)
HSVhsv(294, 76%, 60%)
CMYKcmyk(7.2%, 75.7%, 0%, 40.4%)
CIE-LABlab(36.47, 57.27, -40.50)
CIE-LCHlch(36.47, 70.15, 324.73°)
OKLaboklab(47.74% 0.1541 -0.113)
OKLCHoklch(47.74% 0.191 323.7)
XYZxyz(17.3131, 9.2539, 30.5740)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2598 #309825
analogous
#542598 #8D2598 #98256A
triadic
#8D2598 #988D25 #25988D
tetradic
#8D2598 #985425 #309825 #256A98
square
#8D2598 #985425 #309825 #256A98
split-complementary
#8D2598 #6A9825 #259854
monochromatic
#320D36 #5F1967 #8D2598 #BB31C9 #CD5FD8

Accessibility & contrast

On white

7.37
#8D2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2598
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2598#FFFFFF#000000##FFFFFF
##8D25981.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#903A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2598;
/* rgb */ color: rgb(141, 37, 152);
/* oklch */ color: oklch(47.7% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#b26bb7',
    500: '#8d2598',
    950: '#000000',
  },
}
SCSS
$custom: #8d2598;
$custom-light: #b26bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2598",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 294.261,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.19106,
    "h": 323.7
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#8D2598
secondary
#65BD5C
accent
#E44453
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2598

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

Preview Lab → · Contrast checker → · Palette generator →

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