#AA239F#AA239F

#AA239F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.212 H 331.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA239F
RGBrgb(170, 35, 159)
HSLhsl(305, 66%, 40%)
HSVhsv(305, 79%, 67%)
CMYKcmyk(0%, 79.4%, 6.5%, 33.3%)
CIE-LABlab(41.62, 65.19, -36.25)
CIE-LCHlch(41.62, 74.59, 330.93°)
OKLaboklab(52.49% 0.187 -0.0999)
OKLCHoklch(52.49% 0.212 331.9)
XYZxyz(23.4367, 12.2533, 33.9249)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA239F #23AA2E
analogous
#7223AA #AA239F #AA235B
triadic
#AA239F #9FAA23 #239FAA
tetradic
#AA239F #AA7223 #23AA2E #235BAA
square
#AA239F #AA7223 #23AA2E #235BAA
split-complementary
#AA239F #5BAA23 #23AA72
monochromatic
#440E40 #771970 #AA239F #D535C8 #E068D6

Accessibility & contrast

On white

6.09
#AA239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA239F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA239F#FFFFFF#000000##FFFFFF
##AA239F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#51699C
Tritanopia (blue-blind)
#B13561
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa239f;
/* rgb */ color: rgb(170, 35, 159);
/* oklch */ color: oklch(52.5% 0.212 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#aa239f',
    950: '#000000',
  },
}
SCSS
$custom: #aa239f;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa239f",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 304.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.21197,
    "h": 331.9
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#AA239F
secondary
#63C66B
accent
#E94D3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA239F

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

Preview Lab → · Contrast checker → · Palette generator →

#AA239F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva