#A23B95#A23B95

#A23B95 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.9% C 0.172 H 333.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A23B95
RGBrgb(162, 59, 149)
HSLhsl(308, 47%, 43%)
HSVhsv(308, 64%, 64%)
CMYKcmyk(0%, 63.6%, 8%, 36.5%)
CIE-LABlab(42.73, 53.31, -28.56)
CIE-LCHlch(42.73, 60.48, 331.82°)
OKLaboklab(52.87% 0.1535 -0.0781)
OKLCHoklch(52.87% 0.172 333)
XYZxyz(21.8891, 12.9809, 29.7806)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23B95 #3BA248
analogous
#7B3BA2 #A23B95 #A23B61
triadic
#A23B95 #95A23B #3B95A2
tetradic
#A23B95 #A27B3B #3BA248 #3B61A2
square
#A23B95 #A27B3B #3BA248 #3B61A2
split-complementary
#A23B95 #61A23B #3BA27B
monochromatic
#481A42 #752B6C #A23B95 #C258B5 #D385C9

Accessibility & contrast

On white

5.84
#A23B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A23B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23B95
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23B95#FFFFFF#000000##FFFFFF
##A23B951.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B98
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#A94362
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a23b95;
/* rgb */ color: rgb(162, 59, 149);
/* oklch */ color: oklch(52.9% 0.172 333.0);
Tailwind
colors: {
  custom: {
    50: '#c078b4',
    500: '#a23b95',
    950: '#000000',
  },
}
SCSS
$custom: #a23b95;
$custom-light: #c078b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23b95",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 307.573,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.17219,
    "h": 333
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#A23B95
secondary
#7CBD84
accent
#D66252
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23B95

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

Preview Lab → · Contrast checker → · Palette generator →

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