#A23799#A23799

#A23799 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 331.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A23799
RGBrgb(162, 55, 153)
HSLhsl(305, 49%, 43%)
HSVhsv(305, 66%, 64%)
CMYKcmyk(0%, 66%, 5.6%, 36.5%)
CIE-LABlab(42.33, 55.64, -31.60)
CIE-LCHlch(42.33, 63.99, 330.41°)
OKLaboklab(52.65% 0.1587 -0.0868)
OKLCHoklch(52.65% 0.181 331.3)
XYZxyz(22.0162, 12.7153, 31.4255)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23799 #37A240
analogous
#7637A2 #A23799 #A23763
triadic
#A23799 #99A237 #3799A2
tetradic
#A23799 #A27637 #37A240 #3763A2
square
#A23799 #A27637 #37A240 #3763A2
split-complementary
#A23799 #63A237 #37A276
monochromatic
#471843 #74276E #A23799 #C452BB #D480CD

Accessibility & contrast

On white

5.93
#A23799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A23799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23799
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23799#FFFFFF#000000##FFFFFF
##A237991.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#A84263
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23799;
/* rgb */ color: rgb(162, 55, 153);
/* oklch */ color: oklch(52.6% 0.181 331.3);
Tailwind
colors: {
  custom: {
    50: '#c176b7',
    500: '#a23799',
    950: '#000000',
  },
}
SCSS
$custom: #a23799;
$custom-light: #c176b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23799",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 305.047,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.18091,
    "h": 331.3
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#A23799
secondary
#78BD7E
accent
#D95B4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23799

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

Preview Lab → · Contrast checker → · Palette generator →

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