#9C258F#9C258F

#9C258F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 333.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9C258F
RGBrgb(156, 37, 143)
HSLhsl(307, 62%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 76.3%, 8.3%, 38.8%)
CIE-LABlab(38.51, 59.08, -31.62)
CIE-LCHlch(38.51, 67.01, 331.85°)
OKLaboklab(49.53% 0.1706 -0.0868)
OKLCHoklch(49.53% 0.191 333)
XYZxyz(19.3299, 10.3759, 26.9660)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258F #259C32
analogous
#6E259C #9C258F #9C2553
triadic
#9C258F #8F9C25 #258F9C
tetradic
#9C258F #9C6E25 #259C32 #25539C
square
#9C258F #9C6E25 #259C32 #25539C
split-complementary
#9C258F #539C25 #259C6E
monochromatic
#390E34 #6B1962 #9C258F #CD31BC #DA62CD

Accessibility & contrast

On white

6.83
#9C258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C258F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C258F#FFFFFF#000000##FFFFFF
##9C258F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A33258
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c258f;
/* rgb */ color: rgb(156, 37, 143);
/* oklch */ color: oklch(49.5% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6db0',
    500: '#9c258f',
    950: '#000000',
  },
}
SCSS
$custom: #9c258f;
$custom-light: #bd6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258f",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 306.555,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.19138,
    "h": 333
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#9C258F
secondary
#5EBF68
accent
#E55543
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C258F

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

Preview Lab → · Contrast checker → · Palette generator →

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