#9D268C#9D268C

#9D268C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.189 H 334.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D268C
RGBrgb(157, 38, 140)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 62%)
CMYKcmyk(0%, 75.8%, 10.8%, 38.4%)
CIE-LABlab(38.64, 58.54, -29.57)
CIE-LCHlch(38.64, 65.58, 333.20°)
OKLaboklab(49.6% 0.1705 -0.0809)
OKLCHoklch(49.6% 0.189 334.6)
XYZxyz(19.3316, 10.4495, 25.8047)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D268C #269D37
analogous
#72269D #9D268C #9D2651
triadic
#9D268C #8C9D26 #268C9D
tetradic
#9D268C #9D7226 #269D37 #26519D
square
#9D268C #9D7226 #269D37 #26519D
split-complementary
#9D268C #519D26 #269D72
monochromatic
#3A0E34 #6C1A60 #9D268C #CE33B7 #D964C9

Accessibility & contrast

On white

6.80
#9D268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D268C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D268C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D268C#FFFFFF#000000##FFFFFF
##9D268C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#A53157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d268c;
/* rgb */ color: rgb(157, 38, 140);
/* oklch */ color: oklch(49.6% 0.189 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9d268c',
    950: '#000000',
  },
}
SCSS
$custom: #9d268c;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d268c",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 308.571,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.18869,
    "h": 334.6
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D268C

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

Preview Lab → · Contrast checker → · Palette generator →

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