#9D1E9F#9D1E9F

#9D1E9F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 327.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D1E9F
RGBrgb(157, 30, 159)
HSLhsl(299, 68%, 37%)
HSVhsv(299, 81%, 62%)
CMYKcmyk(1.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(38.90, 63.83, -40.70)
CIE-LCHlch(38.90, 75.70, 327.48°)
OKLaboklab(50.13% 0.1772 -0.1131)
OKLCHoklch(50.13% 0.21 327.5)
XYZxyz(20.6266, 10.6014, 33.7540)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E9F #209F1E
analogous
#5D1E9F #9D1E9F #9F1E60
triadic
#9D1E9F #9F9D1E #1E9F9D
tetradic
#9D1E9F #9F5D1E #209F1E #1E609F
square
#9D1E9F #9F5D1E #209F1E #1E609F
split-complementary
#9D1E9F #609F1E #1E9F5D
monochromatic
#370B38 #6A146C #9D1E9F #D028D2 #DD58DF

Accessibility & contrast

On white

6.73
#9D1E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D1E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E9F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E9F#FFFFFF#000000##FFFFFF
##9D1E9F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A23660
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d1e9f;
/* rgb */ color: rgb(157, 30, 159);
/* oklch */ color: oklch(50.1% 0.210 327.5);
Tailwind
colors: {
  custom: {
    50: '#be6bbc',
    500: '#9d1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e9f;
$custom-light: #be6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e9f",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 299.07,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5013,
    "c": 0.21023,
    "h": 327.5
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#9D1E9F
secondary
#57C356
accent
#EB3D3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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