#9A2B9B#9A2B9B

#9A2B9B is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.193 H 327.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9A2B9B
RGBrgb(154, 43, 155)
HSLhsl(299, 57%, 39%)
HSVhsv(299, 72%, 61%)
CMYKcmyk(0.6%, 72.3%, 0%, 39.2%)
CIE-LABlab(39.52, 58.60, -37.33)
CIE-LCHlch(39.52, 69.48, 327.50°)
OKLaboklab(50.4% 0.163 -0.1034)
OKLCHoklch(50.4% 0.193 327.6)
XYZxyz(20.1064, 10.9658, 32.0616)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B9B #2C9B2B
analogous
#622B9B #9A2B9B #9B2B64
triadic
#9A2B9B #9B9A2B #2B9B9A
tetradic
#9A2B9B #9B622B #2C9B2B #2B649B
square
#9A2B9B #9B622B #2C9B2B #2B649B
split-complementary
#9A2B9B #649B2B #2B9B62
monochromatic
#3B103B #6A1E6B #9A2B9B #C73BC9 #D56BD6

Accessibility & contrast

On white

6.58
#9A2B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9A2B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2B9B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B9B#FFFFFF#000000##FFFFFF
##9A2B9B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#9F3C60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2b9b;
/* rgb */ color: rgb(154, 43, 155);
/* oklch */ color: oklch(50.4% 0.193 327.6);
Tailwind
colors: {
  custom: {
    50: '#bb70b9',
    500: '#9a2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b9b;
$custom-light: #bb70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b9b",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 299.464,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.19305,
    "h": 327.6
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#9A2B9B
secondary
#66BC65
accent
#E04849
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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