#9D1995#9D1995

#9D1995 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.207 H 331.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9D1995
RGBrgb(157, 25, 149)
HSLhsl(304, 73%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 84.1%, 5.1%, 38.4%)
CIE-LABlab(37.91, 63.44, -36.22)
CIE-LCHlch(37.91, 73.05, 330.27°)
OKLaboklab(49.24% 0.181 -0.1)
OKLCHoklch(49.24% 0.207 331.1)
XYZxyz(19.6771, 10.0349, 29.3285)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1995 #199D21
analogous
#63199D #9D1995 #9D1953
triadic
#9D1995 #959D19 #19959D
tetradic
#9D1995 #9D6319 #199D21 #19539D
square
#9D1995 #9D6319 #199D21 #19539D
split-complementary
#9D1995 #539D19 #199D63
monochromatic
#330831 #681163 #9D1995 #D221C7 #E34EDA

Accessibility & contrast

On white

6.98
#9D1995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D1995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1995
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1995#FFFFFF#000000##FFFFFF
##9D19951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#475F92
Tritanopia (blue-blind)
#A42E59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1995;
/* rgb */ color: rgb(157, 25, 149);
/* oklch */ color: oklch(49.2% 0.207 331.1);
Tailwind
colors: {
  custom: {
    50: '#be69b4',
    500: '#9d1995',
    950: '#000000',
  },
}
SCSS
$custom: #9d1995;
$custom-light: #be69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1995",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 303.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.20681,
    "h": 331.1
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#9D1995
secondary
#4DC554
accent
#EF4439
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1995

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

Preview Lab → · Contrast checker → · Palette generator →

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