#9D2597#9D2597

#9D2597 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 330.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D2597
RGBrgb(157, 37, 151)
HSLhsl(303, 62%, 38%)
HSVhsv(303, 76%, 62%)
CMYKcmyk(0%, 76.4%, 3.8%, 38.4%)
CIE-LABlab(39.12, 60.57, -35.52)
CIE-LCHlch(39.12, 70.22, 329.61°)
OKLaboklab(50.14% 0.1718 -0.0981)
OKLCHoklch(50.14% 0.198 330.3)
XYZxyz(20.1520, 10.7272, 30.2813)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2597 #259D2B
analogous
#67259D #9D2597 #9D255B
triadic
#9D2597 #979D25 #25979D
tetradic
#9D2597 #9D6725 #259D2B #255B9D
square
#9D2597 #9D6725 #259D2B #255B9D
split-complementary
#9D2597 #5B9D25 #259D67
monochromatic
#3A0E38 #6B1967 #9D2597 #CE31C7 #DA62D4

Accessibility & contrast

On white

6.68
#9D2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D2597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2597
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2597#FFFFFF#000000##FFFFFF
##9D25971.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#A3365D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2597;
/* rgb */ color: rgb(157, 37, 151);
/* oklch */ color: oklch(50.1% 0.198 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6db6',
    500: '#9d2597',
    950: '#000000',
  },
}
SCSS
$custom: #9d2597;
$custom-light: #be6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2597",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 303,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.19784,
    "h": 330.3
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#9D2597
secondary
#5EBF63
accent
#E54B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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