#9A2B8D#9A2B8D

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

Color values

HEX#9A2B8D
RGBrgb(154, 43, 141)
HSLhsl(307, 56%, 39%)
HSVhsv(307, 72%, 60%)
CMYKcmyk(0%, 72.1%, 8.4%, 39.6%)
CIE-LABlab(38.76, 56.29, -30.02)
CIE-LCHlch(38.76, 63.79, 331.93°)
OKLaboklab(49.61% 0.1625 -0.0823)
OKLCHoklch(49.61% 0.182 333.1)
XYZxyz(18.9981, 10.5224, 26.2246)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B8D #2B9A38
analogous
#6F2B9A #9A2B8D #9A2B55
triadic
#9A2B8D #8D9A2B #2B8D9A
tetradic
#9A2B8D #9A6F2B #2B9A38 #2B559A
square
#9A2B8D #9A6F2B #2B9A38 #2B559A
split-complementary
#9A2B8D #559A2B #2B9A6F
monochromatic
#3A1035 #6A1E61 #9A2B8D #C83AB7 #D56AC9

Accessibility & contrast

On white

6.77
#9A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A2B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2B8D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B8D#FFFFFF#000000##FFFFFF
##9A2B8D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A13659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2b8d;
/* rgb */ color: rgb(154, 43, 141);
/* oklch */ color: oklch(49.6% 0.182 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6fae',
    500: '#9a2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b8d;
$custom-light: #bb6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b8d",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 307.027,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.18212,
    "h": 333.1
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#9A2B8D
secondary
#65BC6F
accent
#E05A48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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