#9C268A#9C268A

#9C268A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.187 H 335.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C268A
RGBrgb(156, 38, 138)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 61%)
CMYKcmyk(0%, 75.6%, 11.5%, 38.8%)
CIE-LABlab(38.36, 58.00, -28.79)
CIE-LCHlch(38.36, 64.75, 333.60°)
OKLaboklab(49.33% 0.1693 -0.0787)
OKLCHoklch(49.33% 0.187 335.1)
XYZxyz(18.9911, 10.2908, 25.0260)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C268A #269C38
analogous
#73269C #9C268A #9C264F
triadic
#9C268A #8A9C26 #268A9C
tetradic
#9C268A #9C7326 #269C38 #264F9C
square
#9C268A #9C7326 #269C38 #264F9C
split-complementary
#9C268A #4F9C26 #269C73
monochromatic
#3A0E33 #6B1A5E #9C268A #CD32B5 #D963C7

Accessibility & contrast

On white

6.87
#9C268A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C268A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C268A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C268A#FFFFFF#000000##FFFFFF
##9C268A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A43056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c268a;
/* rgb */ color: rgb(156, 38, 138);
/* oklch */ color: oklch(49.3% 0.187 335.1);
Tailwind
colors: {
  custom: {
    50: '#bd6dac',
    500: '#9c268a',
    950: '#000000',
  },
}
SCSS
$custom: #9c268a;
$custom-light: #bd6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c268a",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 309.153,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.18669,
    "h": 335.1
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#9C268A
secondary
#5FBF6E
accent
#E45C44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C268A

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

Preview Lab → · Contrast checker → · Palette generator →

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