#A23899#A23899

#A23899 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.180 H 331.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A23899
RGBrgb(162, 56, 153)
HSLhsl(305, 49%, 43%)
HSVhsv(305, 65%, 64%)
CMYKcmyk(0%, 65.4%, 5.6%, 36.5%)
CIE-LABlab(42.48, 55.24, -31.37)
CIE-LCHlch(42.48, 63.52, 330.41°)
OKLaboklab(52.75% 0.1576 -0.0861)
OKLCHoklch(52.75% 0.18 331.3)
XYZxyz(22.0642, 12.8113, 31.4415)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23899 #38A241
analogous
#7638A2 #A23899 #A23864
triadic
#A23899 #99A238 #3899A2
tetradic
#A23899 #A27638 #38A241 #3864A2
square
#A23899 #A27638 #38A241 #3864A2
split-complementary
#A23899 #64A238 #38A276
monochromatic
#471943 #75286E #A23899 #C453BA #D381CC

Accessibility & contrast

On white

5.90
#A23899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A23899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23899
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23899#FFFFFF#000000##FFFFFF
##A238991.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#566A96
Tritanopia (blue-blind)
#A84363
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23899;
/* rgb */ color: rgb(162, 56, 153);
/* oklch */ color: oklch(52.8% 0.180 331.3);
Tailwind
colors: {
  custom: {
    50: '#c177b7',
    500: '#a23899',
    950: '#000000',
  },
}
SCSS
$custom: #a23899;
$custom-light: #c177b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23899",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 305.094,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.17956,
    "h": 331.3
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#A23899
secondary
#79BD7F
accent
#D85B50
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23899

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

Preview Lab → · Contrast checker → · Palette generator →

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