#A23896#A23896

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

Color values

HEX#A23896
RGBrgb(162, 56, 150)
HSLhsl(307, 49%, 43%)
HSVhsv(307, 65%, 64%)
CMYKcmyk(0%, 65.4%, 7.4%, 36.5%)
CIE-LABlab(42.33, 54.74, -29.80)
CIE-LCHlch(42.33, 62.32, 331.44°)
OKLaboklab(52.59% 0.1573 -0.0816)
OKLCHoklch(52.59% 0.177 332.6)
XYZxyz(21.8195, 12.7134, 30.1530)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23896 #38A244
analogous
#7938A2 #A23896 #A23861
triadic
#A23896 #96A238 #3896A2
tetradic
#A23896 #A27938 #38A244 #3861A2
square
#A23896 #A27938 #38A244 #3861A2
split-complementary
#A23896 #61A238 #38A279
monochromatic
#471942 #75286C #A23896 #C453B7 #D381CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23896#FFFFFF#000000##FFFFFF
##A238961.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)
#345A99
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#A94162
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23896;
/* rgb */ color: rgb(162, 56, 150);
/* oklch */ color: oklch(52.6% 0.177 332.6);
Tailwind
colors: {
  custom: {
    50: '#c177b5',
    500: '#a23896',
    950: '#000000',
  },
}
SCSS
$custom: #a23896;
$custom-light: #c177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23896",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 306.792,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.17717,
    "h": 332.6
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#A23896
secondary
#79BD81
accent
#D85F50
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23896

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

Preview Lab → · Contrast checker → · Palette generator →

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