#9C258B#9C258B

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

Color values

HEX#9C258B
RGBrgb(156, 37, 139)
HSLhsl(309, 62%, 38%)
HSVhsv(309, 76%, 61%)
CMYKcmyk(0%, 76.3%, 10.9%, 38.8%)
CIE-LABlab(38.30, 58.47, -29.50)
CIE-LCHlch(38.30, 65.49, 333.23°)
OKLaboklab(49.31% 0.1703 -0.0807)
OKLCHoklch(49.31% 0.188 334.6)
XYZxyz(19.0323, 10.2568, 25.3985)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258B #259C36
analogous
#71259C #9C258B #9C2550
triadic
#9C258B #8B9C25 #258B9C
tetradic
#9C258B #9C7125 #259C36 #25509C
square
#9C258B #9C7125 #259C36 #25509C
split-complementary
#9C258B #509C25 #259C71
monochromatic
#390E33 #6B195F #9C258B #CD31B7 #DA62C9

Accessibility & contrast

On white

6.88
#9C258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C258B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C258B#FFFFFF#000000##FFFFFF
##9C258B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A43056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c258b;
/* rgb */ color: rgb(156, 37, 139);
/* oklch */ color: oklch(49.3% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd6dad',
    500: '#9c258b',
    950: '#000000',
  },
}
SCSS
$custom: #9c258b;
$custom-light: #bd6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258b",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 308.571,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.18847,
    "h": 334.6
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#9C258B
secondary
#5EBF6C
accent
#E55A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C258B

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

Preview Lab → · Contrast checker → · Palette generator →

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