#A23297#A23297

#A23297 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.186 H 332.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A23297
RGBrgb(162, 50, 151)
HSLhsl(306, 53%, 42%)
HSVhsv(306, 69%, 64%)
CMYKcmyk(0%, 69.1%, 6.8%, 36.5%)
CIE-LABlab(41.53, 57.27, -31.65)
CIE-LCHlch(41.53, 65.44, 331.07°)
OKLaboklab(52.03% 0.1643 -0.0869)
OKLCHoklch(52.03% 0.186 332.1)
XYZxyz(21.6268, 12.1987, 30.4877)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23297 #32A23D
analogous
#7532A2 #A23297 #A2325F
triadic
#A23297 #97A232 #3297A2
tetradic
#A23297 #A27532 #32A23D #325FA2
square
#A23297 #A27532 #32A23D #325FA2
split-complementary
#A23297 #5FA232 #32A275
monochromatic
#441540 #73246B #A23297 #C74ABB #D679CC

Accessibility & contrast

On white

6.11
#A23297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A23297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23297
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23297#FFFFFF#000000##FFFFFF
##A232971.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#546894
Tritanopia (blue-blind)
#A93D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23297;
/* rgb */ color: rgb(162, 50, 151);
/* oklch */ color: oklch(52.0% 0.186 332.1);
Tailwind
colors: {
  custom: {
    50: '#c174b6',
    500: '#a23297',
    950: '#000000',
  },
}
SCSS
$custom: #a23297;
$custom-light: #c174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23297",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 305.893,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.18582,
    "h": 332.1
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#A23297
secondary
#72BE79
accent
#DC5A4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23297

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

Preview Lab → · Contrast checker → · Palette generator →

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