#9D268A#9D268A

#9D268A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.187 H 335.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D268A
RGBrgb(157, 38, 138)
HSLhsl(310, 61%, 38%)
HSVhsv(310, 76%, 62%)
CMYKcmyk(0%, 75.8%, 12.1%, 38.4%)
CIE-LABlab(38.54, 58.24, -28.50)
CIE-LCHlch(38.54, 64.84, 333.92°)
OKLaboklab(49.49% 0.1703 -0.0778)
OKLCHoklch(49.49% 0.187 335.4)
XYZxyz(19.1855, 10.3910, 25.0351)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D268A #269D39
analogous
#74269D #9D268A #9D264E
triadic
#9D268A #8A9D26 #268A9D
tetradic
#9D268A #9D7426 #269D39 #264E9D
square
#9D268A #9D7426 #269D39 #264E9D
split-complementary
#9D268A #4E9D26 #269D74
monochromatic
#3A0E33 #6C1A5F #9D268A #CE33B5 #D964C7

Accessibility & contrast

On white

6.82
#9D268A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D268A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D268A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D268A#FFFFFF#000000##FFFFFF
##9D268A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A53056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d268a;
/* rgb */ color: rgb(157, 38, 138);
/* oklch */ color: oklch(49.5% 0.187 335.4);
Tailwind
colors: {
  custom: {
    50: '#be6dac',
    500: '#9d268a',
    950: '#000000',
  },
}
SCSS
$custom: #9d268a;
$custom-light: #be6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d268a",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 309.58,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.18726,
    "h": 335.4
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#9D268A
secondary
#60BF6F
accent
#E45D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D268A

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

Preview Lab → · Contrast checker → · Palette generator →

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