#9B2C8E#9B2C8E

#9B2C8E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.182 H 333.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2C8E
RGBrgb(155, 44, 142)
HSLhsl(307, 56%, 39%)
HSVhsv(307, 72%, 61%)
CMYKcmyk(0%, 71.6%, 8.4%, 39.2%)
CIE-LABlab(39.11, 56.33, -30.07)
CIE-LCHlch(39.11, 63.86, 331.91°)
OKLaboklab(49.91% 0.1626 -0.0824)
OKLCHoklch(49.91% 0.182 333.1)
XYZxyz(19.3008, 10.7245, 26.6394)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C8E #2C9B39
analogous
#712C9B #9B2C8E #9B2C57
triadic
#9B2C8E #8E9B2C #2C8E9B
tetradic
#9B2C8E #9B712C #2C9B39 #2C579B
square
#9B2C8E #9B712C #2C9B39 #2C579B
split-complementary
#9B2C8E #579B2C #2C9B71
monochromatic
#3C1137 #6B1E62 #9B2C8E #C83CB7 #D56CC9

Accessibility & contrast

On white

6.68
#9B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B2C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C8E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C8E#FFFFFF#000000##FFFFFF
##9B2C8E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A2375A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2c8e;
/* rgb */ color: rgb(155, 44, 142);
/* oklch */ color: oklch(49.9% 0.182 333.1);
Tailwind
colors: {
  custom: {
    50: '#bc70af',
    500: '#9b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c8e;
$custom-light: #bc70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c8e",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 307.027,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.18226,
    "h": 333.1
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#9B2C8E
secondary
#67BC71
accent
#DF5A49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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