#9A2BA7#9A2BA7

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

Color values

HEX#9A2BA7
RGBrgb(154, 43, 167)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 74%, 65%)
CMYKcmyk(7.8%, 74.3%, 0%, 34.5%)
CIE-LABlab(40.23, 60.70, -43.41)
CIE-LCHlch(40.23, 74.62, 324.43°)
OKLaboklab(51.13% 0.1627 -0.1212)
OKLCHoklch(51.13% 0.203 323.3)
XYZxyz(21.1647, 11.3891, 37.6352)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BA7 #38A72B
analogous
#5C2BA7 #9A2BA7 #A72B76
triadic
#9A2BA7 #A79A2B #2BA79A
tetradic
#9A2BA7 #A75C2B #38A72B #2B76A7
square
#9A2BA7 #A75C2B #38A72B #2B76A7
split-complementary
#9A2BA7 #76A72B #2BA75C
monochromatic
#401246 #6D1E76 #9A2BA7 #BF41CE #D072DB

Accessibility & contrast

On white

6.41
#9A2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BA7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BA7#FFFFFF#000000##FFFFFF
##9A2BA71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#9C4267
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ba7;
/* rgb */ color: rgb(154, 43, 167);
/* oklch */ color: oklch(51.1% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#bb70c2',
    500: '#9a2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ba7;
$custom-light: #bb70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ba7",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 293.71,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.20283,
    "h": 323.3
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#9A2BA7
secondary
#75C26C
accent
#E24656
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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