#9A2097#9A2097

#9A2097 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.201 H 329.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9A2097
RGBrgb(154, 32, 151)
HSLhsl(301, 66%, 36%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 79.2%, 1.9%, 39.6%)
CIE-LABlab(38.09, 61.39, -37.18)
CIE-LCHlch(38.09, 71.77, 328.80°)
OKLaboklab(49.3% 0.1728 -0.1029)
OKLCHoklch(49.3% 0.201 329.2)
XYZxyz(19.4287, 10.1389, 30.2059)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2097 #209A23
analogous
#60209A #9A2097 #9A205A
triadic
#9A2097 #979A20 #20979A
tetradic
#9A2097 #9A6020 #209A23 #205A9A
square
#9A2097 #9A6020 #209A23 #205A9A
split-complementary
#9A2097 #5A9A20 #209A60
monochromatic
#350B34 #671565 #9A2097 #CD2BC9 #DC58D9

Accessibility & contrast

On white

6.94
#9A2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2097
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2097#FFFFFF#000000##FFFFFF
##9A20971.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A0345B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2097;
/* rgb */ color: rgb(154, 32, 151);
/* oklch */ color: oklch(49.3% 0.201 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bb6',
    500: '#9a2097',
    950: '#000000',
  },
}
SCSS
$custom: #9a2097;
$custom-light: #bc6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2097",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 301.475,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.20116,
    "h": 329.2
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#9A2097
secondary
#56C058
accent
#E9433F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2097

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

Preview Lab → · Contrast checker → · Palette generator →

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