#9D268D#9D268D

#9D268D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 334.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D268D
RGBrgb(157, 38, 141)
HSLhsl(308, 61%, 38%)
HSVhsv(308, 76%, 62%)
CMYKcmyk(0%, 75.8%, 10.2%, 38.4%)
CIE-LABlab(38.69, 58.69, -30.10)
CIE-LCHlch(38.69, 65.96, 332.85°)
OKLaboklab(49.66% 0.1705 -0.0824)
OKLCHoklch(49.66% 0.189 334.2)
XYZxyz(19.4056, 10.4791, 26.1948)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D268D #269D36
analogous
#71269D #9D268D #9D2651
triadic
#9D268D #8D9D26 #268D9D
tetradic
#9D268D #9D7126 #269D36 #26519D
square
#9D268D #9D7126 #269D36 #26519D
split-complementary
#9D268D #519D26 #269D71
monochromatic
#3A0E34 #6C1A61 #9D268D #CE33B9 #D964CA

Accessibility & contrast

On white

6.78
#9D268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D268D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D268D#FFFFFF#000000##FFFFFF
##9D268D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A53157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d268d;
/* rgb */ color: rgb(157, 38, 141);
/* oklch */ color: oklch(49.7% 0.189 334.2);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9d268d',
    950: '#000000',
  },
}
SCSS
$custom: #9d268d;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d268d",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 308.067,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.18942,
    "h": 334.2
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#9D268D
secondary
#60BF6D
accent
#E45944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D268D

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

Preview Lab → · Contrast checker → · Palette generator →

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