#9C258E#9C258E

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

Color values

HEX#9C258E
RGBrgb(156, 37, 142)
HSLhsl(307, 62%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 76.3%, 9%, 38.8%)
CIE-LABlab(38.46, 58.93, -31.09)
CIE-LCHlch(38.46, 66.63, 332.19°)
OKLaboklab(49.47% 0.1705 -0.0853)
OKLCHoklch(49.47% 0.191 333.4)
XYZxyz(19.2545, 10.3457, 26.5688)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258E #259C33
analogous
#6E259C #9C258E #9C2552
triadic
#9C258E #8E9C25 #258E9C
tetradic
#9C258E #9C6E25 #259C33 #25529C
square
#9C258E #9C6E25 #259C33 #25529C
split-complementary
#9C258E #529C25 #259C6E
monochromatic
#390E34 #6B1961 #9C258E #CD31BB #DA62CC

Accessibility & contrast

On white

6.84
#9C258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C258E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C258E#FFFFFF#000000##FFFFFF
##9C258E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#A33158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c258e;
/* rgb */ color: rgb(156, 37, 142);
/* oklch */ color: oklch(49.5% 0.191 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6daf',
    500: '#9c258e',
    950: '#000000',
  },
}
SCSS
$custom: #9c258e;
$custom-light: #bd6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258e",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 307.059,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.19065,
    "h": 333.4
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#9C258E
secondary
#5EBF69
accent
#E55643
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C258E

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

Preview Lab → · Contrast checker → · Palette generator →

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