#9C268B#9C268B

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

Color values

HEX#9C268B
RGBrgb(156, 38, 139)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 61%)
CMYKcmyk(0%, 75.6%, 10.9%, 38.8%)
CIE-LABlab(38.41, 58.15, -29.32)
CIE-LCHlch(38.41, 65.13, 333.24°)
OKLaboklab(49.39% 0.1694 -0.0802)
OKLCHoklch(49.39% 0.187 334.7)
XYZxyz(19.0638, 10.3199, 25.4090)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C268B #269C37
analogous
#72269C #9C268B #9C2650
triadic
#9C268B #8B9C26 #268B9C
tetradic
#9C268B #9C7226 #269C37 #26509C
square
#9C268B #9C7226 #269C37 #26509C
split-complementary
#9C268B #509C26 #269C72
monochromatic
#3A0E33 #6B1A5F #9C268B #CD32B7 #D963C8

Accessibility & contrast

On white

6.85
#9C268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C268B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C268B#FFFFFF#000000##FFFFFF
##9C268B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#A43056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c268b;
/* rgb */ color: rgb(156, 38, 139);
/* oklch */ color: oklch(49.4% 0.187 334.7);
Tailwind
colors: {
  custom: {
    50: '#bd6dad',
    500: '#9c268b',
    950: '#000000',
  },
}
SCSS
$custom: #9c268b;
$custom-light: #bd6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c268b",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 308.644,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.18742,
    "h": 334.7
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#9C268B
secondary
#5FBF6D
accent
#E45B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C268B

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

Preview Lab → · Contrast checker → · Palette generator →

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