#9C268C#9C268C

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

Color values

HEX#9C268C
RGBrgb(156, 38, 140)
HSLhsl(308, 61%, 38%)
HSVhsv(308, 76%, 61%)
CMYKcmyk(0%, 75.6%, 10.3%, 38.8%)
CIE-LABlab(38.46, 58.30, -29.85)
CIE-LCHlch(38.46, 65.50, 332.89°)
OKLaboklab(49.44% 0.1695 -0.0817)
OKLCHoklch(49.44% 0.188 334.2)
XYZxyz(19.1372, 10.3493, 25.7956)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C268C #269C36
analogous
#71269C #9C268C #9C2651
triadic
#9C268C #8C9C26 #268C9C
tetradic
#9C268C #9C7126 #269C36 #26519C
square
#9C268C #9C7126 #269C36 #26519C
split-complementary
#9C268C #519C26 #269C71
monochromatic
#3A0E34 #6B1A60 #9C268C #CD32B8 #D963C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C268C#FFFFFF#000000##FFFFFF
##9C268C1.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)
#24508F
Deuteranopia (green-blind)
#4F6189
Tritanopia (blue-blind)
#A43157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c268c;
/* rgb */ color: rgb(156, 38, 140);
/* oklch */ color: oklch(49.4% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd6dae',
    500: '#9c268c',
    950: '#000000',
  },
}
SCSS
$custom: #9c268c;
$custom-light: #bd6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c268c",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 308.136,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49442,
    "c": 0.18814,
    "h": 334.2
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#9C268C
secondary
#5FBF6C
accent
#E45A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C268C

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

Preview Lab → · Contrast checker → · Palette generator →

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