#9D2095#9D2095

#9D2095 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 331.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D2095
RGBrgb(157, 32, 149)
HSLhsl(304, 66%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 79.6%, 5.1%, 38.4%)
CIE-LABlab(38.50, 61.70, -35.28)
CIE-LCHlch(38.50, 71.07, 330.24°)
OKLaboklab(49.66% 0.176 -0.0973)
OKLCHoklch(49.66% 0.201 331.1)
XYZxyz(19.8459, 10.3727, 29.3848)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2095 #209D28
analogous
#67209D #9D2095 #9D2057
triadic
#9D2095 #959D20 #20959D
tetradic
#9D2095 #9D6720 #209D28 #20579D
square
#9D2095 #9D6720 #209D28 #20579D
split-complementary
#9D2095 #579D20 #209D67
monochromatic
#370B35 #6A1665 #9D2095 #D02AC5 #DD5AD5

Accessibility & contrast

On white

6.83
#9D2095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2095
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2095#FFFFFF#000000##FFFFFF
##9D20951.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A3325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2095;
/* rgb */ color: rgb(157, 32, 149);
/* oklch */ color: oklch(49.7% 0.201 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9d2095',
    950: '#000000',
  },
}
SCSS
$custom: #9d2095;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2095",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 303.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.20111,
    "h": 331.1
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#9D2095
secondary
#57C15E
accent
#E94A3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2095

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

Preview Lab → · Contrast checker → · Palette generator →

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