#9A2BA5#9A2BA5

#9A2BA5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.201 H 324.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9A2BA5
RGBrgb(154, 43, 165)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 65%)
CMYKcmyk(6.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(40.11, 60.34, -42.41)
CIE-LCHlch(40.11, 73.75, 324.90°)
OKLaboklab(51.01% 0.1628 -0.1182)
OKLCHoklch(51.01% 0.201 324)
XYZxyz(20.9812, 11.3157, 36.6690)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BA5 #36A52B
analogous
#5D2BA5 #9A2BA5 #A52B73
triadic
#9A2BA5 #A59A2B #2BA59A
tetradic
#9A2BA5 #A55D2B #36A52B #2B73A5
square
#9A2BA5 #A55D2B #36A52B #2B73A5
split-complementary
#9A2BA5 #73A52B #2BA55D
monochromatic
#3F1244 #6D1E74 #9A2BA5 #C040CD #D071DA

Accessibility & contrast

On white

6.44
#9A2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9A2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BA5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BA5#FFFFFF#000000##FFFFFF
##9A2BA51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#9D4166
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2ba5;
/* rgb */ color: rgb(154, 43, 165);
/* oklch */ color: oklch(51.0% 0.201 324.0);
Tailwind
colors: {
  custom: {
    50: '#bb70c0',
    500: '#9a2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ba5;
$custom-light: #bb70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ba5",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 294.59,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.20118,
    "h": 324
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#9A2BA5
secondary
#73C16B
accent
#E24654
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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