#9C238F#9C238F

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

Color values

HEX#9C238F
RGBrgb(156, 35, 143)
HSLhsl(306, 63%, 37%)
HSVhsv(306, 78%, 61%)
CMYKcmyk(0%, 77.6%, 8.3%, 38.8%)
CIE-LABlab(38.30, 59.69, -31.95)
CIE-LCHlch(38.30, 67.71, 331.84°)
OKLaboklab(49.37% 0.1723 -0.0878)
OKLCHoklch(49.37% 0.193 333)
XYZxyz(19.2694, 10.2548, 26.9458)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C238F #239C30
analogous
#6C239C #9C238F #9C2353
triadic
#9C238F #8F9C23 #238F9C
tetradic
#9C238F #9C6C23 #239C30 #23539C
square
#9C238F #9C6C23 #239C30 #23539C
split-complementary
#9C238F #539C23 #239C6C
monochromatic
#380D33 #6A1861 #9C238F #CE2EBD #DB5ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C238F#FFFFFF#000000##FFFFFF
##9C238F1.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)
#1D4F92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A33058
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c238f;
/* rgb */ color: rgb(156, 35, 143);
/* oklch */ color: oklch(49.4% 0.193 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6cb0',
    500: '#9c238f',
    950: '#000000',
  },
}
SCSS
$custom: #9c238f;
$custom-light: #bd6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c238f",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 306.446,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.1934,
    "h": 333
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#9C238F
secondary
#5BC066
accent
#E65341
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C238F

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

Preview Lab → · Contrast checker → · Palette generator →

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