#9D268B#9D268B

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

Color values

HEX#9D268B
RGBrgb(157, 38, 139)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 62%)
CMYKcmyk(0%, 75.8%, 11.5%, 38.4%)
CIE-LABlab(38.59, 58.39, -29.03)
CIE-LCHlch(38.59, 65.21, 333.56°)
OKLaboklab(49.55% 0.1704 -0.0794)
OKLCHoklch(49.55% 0.188 335)
XYZxyz(19.2582, 10.4201, 25.4181)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D268B #269D38
analogous
#73269D #9D268B #9D264F
triadic
#9D268B #8B9D26 #268B9D
tetradic
#9D268B #9D7326 #269D38 #264F9D
square
#9D268B #9D7326 #269D38 #264F9D
split-complementary
#9D268B #4F9D26 #269D73
monochromatic
#3A0E34 #6C1A5F #9D268B #CE33B6 #D964C8

Accessibility & contrast

On white

6.81
#9D268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D268B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D268B#FFFFFF#000000##FFFFFF
##9D268B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#A53056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d268b;
/* rgb */ color: rgb(157, 38, 139);
/* oklch */ color: oklch(49.5% 0.188 335.0);
Tailwind
colors: {
  custom: {
    50: '#be6dad',
    500: '#9d268b',
    950: '#000000',
  },
}
SCSS
$custom: #9d268b;
$custom-light: #be6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d268b",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 309.076,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.18797,
    "h": 335
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#9D268B
secondary
#60BF6E
accent
#E45C44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D268B

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

Preview Lab → · Contrast checker → · Palette generator →

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