#9C268F#9C268F

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

Color values

HEX#9C268F
RGBrgb(156, 38, 143)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 75.6%, 8.3%, 38.8%)
CIE-LABlab(38.62, 58.77, -31.44)
CIE-LCHlch(38.62, 66.65, 331.85°)
OKLaboklab(49.61% 0.1696 -0.0863)
OKLCHoklch(49.61% 0.19 333)
XYZxyz(19.3615, 10.4390, 26.9765)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C268F #269C33
analogous
#6E269C #9C268F #9C2654
triadic
#9C268F #8F9C26 #268F9C
tetradic
#9C268F #9C6E26 #269C33 #26549C
square
#9C268F #9C6E26 #269C33 #26549C
split-complementary
#9C268F #549C26 #269C6E
monochromatic
#3A0E35 #6B1A62 #9C268F #CD32BC #D963CC

Accessibility & contrast

On white

6.80
#9C268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C268F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C268F#FFFFFF#000000##FFFFFF
##9C268F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A33358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c268f;
/* rgb */ color: rgb(156, 38, 143);
/* oklch */ color: oklch(49.6% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6db0',
    500: '#9c268f',
    950: '#000000',
  },
}
SCSS
$custom: #9c268f;
$custom-light: #bd6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c268f",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 306.61,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.19033,
    "h": 333
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#9C268F
secondary
#5FBF6A
accent
#E45544
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C268F

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

Preview Lab → · Contrast checker → · Palette generator →

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