#9C268E#9C268E

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

Color values

HEX#9C268E
RGBrgb(156, 38, 142)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 75.6%, 9%, 38.8%)
CIE-LABlab(38.57, 58.61, -30.91)
CIE-LCHlch(38.57, 66.27, 332.19°)
OKLaboklab(49.55% 0.1696 -0.0848)
OKLCHoklch(49.55% 0.19 333.4)
XYZxyz(19.2860, 10.4088, 26.5793)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C268E #269C34
analogous
#6F269C #9C268E #9C2653
triadic
#9C268E #8E9C26 #268E9C
tetradic
#9C268E #9C6F26 #269C34 #26539C
square
#9C268E #9C6F26 #269C34 #26539C
split-complementary
#9C268E #539C26 #269C6F
monochromatic
#3A0E34 #6B1A61 #9C268E #CD32BB #D963CB

Accessibility & contrast

On white

6.82
#9C268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C268E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C268E#FFFFFF#000000##FFFFFF
##9C268E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c268e;
/* rgb */ color: rgb(156, 38, 142);
/* oklch */ color: oklch(49.5% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6daf',
    500: '#9c268e',
    950: '#000000',
  },
}
SCSS
$custom: #9c268e;
$custom-light: #bd6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c268e",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 307.119,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.18959,
    "h": 333.4
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#9C268E
secondary
#5FBF6A
accent
#E45744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C268E

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

Preview Lab → · Contrast checker → · Palette generator →

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