#A23299#A23299

#A23299 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.187 H 331.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A23299
RGBrgb(162, 50, 153)
HSLhsl(305, 53%, 42%)
HSVhsv(305, 69%, 64%)
CMYKcmyk(0%, 69.1%, 5.6%, 36.5%)
CIE-LABlab(41.63, 57.60, -32.70)
CIE-LCHlch(41.63, 66.23, 330.42°)
OKLaboklab(52.14% 0.1644 -0.0899)
OKLCHoklch(52.14% 0.187 331.3)
XYZxyz(21.7906, 12.2642, 31.3504)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23299 #32A23B
analogous
#7332A2 #A23299 #A23261
triadic
#A23299 #99A232 #3299A2
tetradic
#A23299 #A27332 #32A23B #3261A2
square
#A23299 #A27332 #32A23B #3261A2
split-complementary
#A23299 #61A232 #32A273
monochromatic
#441541 #73246D #A23299 #C74ABD #D679CE

Accessibility & contrast

On white

6.08
#A23299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23299
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23299#FFFFFF#000000##FFFFFF
##A232991.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#536896
Tritanopia (blue-blind)
#A93E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23299;
/* rgb */ color: rgb(162, 50, 153);
/* oklch */ color: oklch(52.1% 0.187 331.3);
Tailwind
colors: {
  custom: {
    50: '#c174b7',
    500: '#a23299',
    950: '#000000',
  },
}
SCSS
$custom: #a23299;
$custom-light: #c174b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23299",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 304.821,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.18737,
    "h": 331.3
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#A23299
secondary
#72BE78
accent
#DC574C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23299

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

Preview Lab → · Contrast checker → · Palette generator →

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