#9D2691#9D2691

#9D2691 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.192 H 332.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D2691
RGBrgb(157, 38, 145)
HSLhsl(306, 61%, 38%)
HSVhsv(306, 76%, 62%)
CMYKcmyk(0%, 75.8%, 7.6%, 38.4%)
CIE-LABlab(38.90, 59.31, -32.21)
CIE-LCHlch(38.90, 67.49, 331.49°)
OKLaboklab(49.87% 0.1708 -0.0885)
OKLCHoklch(49.87% 0.192 332.6)
XYZxyz(19.7087, 10.6003, 27.7906)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2691 #269D32
analogous
#6D269D #9D2691 #9D2656
triadic
#9D2691 #919D26 #26919D
tetradic
#9D2691 #9D6D26 #269D32 #26569D
square
#9D2691 #9D6D26 #269D32 #26569D
split-complementary
#9D2691 #569D26 #269D6D
monochromatic
#3A0E36 #6C1A63 #9D2691 #CE33BE #D964CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2691#FFFFFF#000000##FFFFFF
##9D26911.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)
#1F5194
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#A43359
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2691;
/* rgb */ color: rgb(157, 38, 145);
/* oklch */ color: oklch(49.9% 0.192 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6eb1',
    500: '#9d2691',
    950: '#000000',
  },
}
SCSS
$custom: #9d2691;
$custom-light: #be6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2691",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 306.05,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49874,
    "c": 0.19234,
    "h": 332.6
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#9D2691
secondary
#60BF69
accent
#E45444
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2691

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

Preview Lab → · Contrast checker → · Palette generator →

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