#A23E97#A23E97

#A23E97 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.3% C 0.169 H 332.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A23E97
RGBrgb(162, 62, 151)
HSLhsl(307, 45%, 44%)
HSVhsv(307, 62%, 64%)
CMYKcmyk(0%, 61.7%, 6.8%, 36.5%)
CIE-LABlab(43.30, 52.34, -28.87)
CIE-LCHlch(43.30, 59.77, 331.12°)
OKLaboklab(53.32% 0.1499 -0.079)
OKLCHoklch(53.32% 0.169 332.2)
XYZxyz(22.2088, 13.3626, 30.6817)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23E97 #3EA249
analogous
#7B3EA2 #A23E97 #A23E65
triadic
#A23E97 #97A23E #3E97A2
tetradic
#A23E97 #A27B3E #3EA249 #3E65A2
square
#A23E97 #A27B3E #3EA249 #3E65A2
split-complementary
#A23E97 #65A23E #3EA27B
monochromatic
#491C44 #762D6E #A23E97 #C15CB6 #D289CA

Accessibility & contrast

On white

5.72
#A23E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A23E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23E97
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23E97#FFFFFF#000000##FFFFFF
##A23E971.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#5B6B94
Tritanopia (blue-blind)
#A94765
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23e97;
/* rgb */ color: rgb(162, 62, 151);
/* oklch */ color: oklch(53.3% 0.169 332.2);
Tailwind
colors: {
  custom: {
    50: '#c07ab6',
    500: '#a23e97',
    950: '#000000',
  },
}
SCSS
$custom: #a23e97;
$custom-light: #c07ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23e97",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 306.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.16948,
    "h": 332.2
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#A23E97
secondary
#80BC86
accent
#D46253
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A23E97

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

Preview Lab → · Contrast checker → · Palette generator →

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