#9A2BA6#9A2BA6

#9A2BA6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.202 H 323.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9A2BA6
RGBrgb(154, 43, 166)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 74%, 65%)
CMYKcmyk(7.2%, 74.1%, 0%, 34.9%)
CIE-LABlab(40.17, 60.52, -42.91)
CIE-LCHlch(40.17, 74.19, 324.66°)
OKLaboklab(51.07% 0.1627 -0.1197)
OKLCHoklch(51.07% 0.202 323.7)
XYZxyz(21.0726, 11.3522, 37.1503)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BA6 #37A62B
analogous
#5C2BA6 #9A2BA6 #A62B74
triadic
#9A2BA6 #A69A2B #2BA69A
tetradic
#9A2BA6 #A65C2B #37A62B #2B74A6
square
#9A2BA6 #A65C2B #37A62B #2B74A6
split-complementary
#9A2BA6 #74A62B #2BA65C
monochromatic
#401245 #6D1E75 #9A2BA6 #C041CE #D071DA

Accessibility & contrast

On white

6.42
#9A2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BA6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BA6#FFFFFF#000000##FFFFFF
##9A2BA61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#9D4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ba6;
/* rgb */ color: rgb(154, 43, 166);
/* oklch */ color: oklch(51.1% 0.202 323.7);
Tailwind
colors: {
  custom: {
    50: '#bb70c1',
    500: '#9a2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ba6;
$custom-light: #bb70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ba6",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 294.146,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.20201,
    "h": 323.7
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#9A2BA6
secondary
#74C16B
accent
#E24655
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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