#9C258D#9C258D

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

Color values

HEX#9C258D
RGBrgb(156, 37, 141)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 76%, 61%)
CMYKcmyk(0%, 76.3%, 9.6%, 38.8%)
CIE-LABlab(38.40, 58.78, -30.56)
CIE-LCHlch(38.40, 66.25, 332.53°)
OKLaboklab(49.42% 0.1704 -0.0838)
OKLCHoklch(49.42% 0.19 333.8)
XYZxyz(19.1798, 10.3158, 26.1751)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258D #259C34
analogous
#6F259C #9C258D #9C2551
triadic
#9C258D #8D9C25 #258D9C
tetradic
#9C258D #9C6F25 #259C34 #25519C
square
#9C258D #9C6F25 #259C34 #25519C
split-complementary
#9C258D #519C25 #259C6F
monochromatic
#390E34 #6B1960 #9C258D #CD31BA #DA62CB

Accessibility & contrast

On white

6.86
#9C258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C258D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C258D#FFFFFF#000000##FFFFFF
##9C258D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4F608A
Tritanopia (blue-blind)
#A33157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c258d;
/* rgb */ color: rgb(156, 37, 141);
/* oklch */ color: oklch(49.4% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#bd6dae',
    500: '#9c258d',
    950: '#000000',
  },
}
SCSS
$custom: #9c258d;
$custom-light: #bd6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258d",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 307.563,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.18991,
    "h": 333.8
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#9C258D
secondary
#5EBF6A
accent
#E55743
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C258D

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

Preview Lab → · Contrast checker → · Palette generator →

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