#8D2597#8D2597

#8D2597 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.190 H 324.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D2597
RGBrgb(141, 37, 151)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 75%, 59%)
CMYKcmyk(6.6%, 75.5%, 0%, 40.8%)
CIE-LABlab(36.41, 57.09, -39.99)
CIE-LCHlch(36.41, 69.71, 324.99°)
OKLaboklab(47.68% 0.1541 -0.1115)
OKLCHoklch(47.68% 0.19 324.1)
XYZxyz(17.2315, 9.2213, 30.1444)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2597 #2F9725
analogous
#542597 #8D2597 #972568
triadic
#8D2597 #978D25 #25978D
tetradic
#8D2597 #975425 #2F9725 #256897
square
#8D2597 #975425 #2F9725 #256897
split-complementary
#8D2597 #689725 #259754
monochromatic
#310D35 #5F1966 #8D2597 #BB31C8 #CD5FD8

Accessibility & contrast

On white

7.38
#8D2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2597
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2597#FFFFFF#000000##FFFFFF
##8D25971.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#903A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2597;
/* rgb */ color: rgb(141, 37, 151);
/* oklch */ color: oklch(47.7% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#b26bb6',
    500: '#8d2597',
    950: '#000000',
  },
}
SCSS
$custom: #8d2597;
$custom-light: #b26bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2597",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 294.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.19023,
    "h": 324.1
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#8D2597
secondary
#64BD5B
accent
#E44452
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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