#A23F97#A23F97

#A23F97 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.4% C 0.168 H 332.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A23F97
RGBrgb(162, 63, 151)
HSLhsl(307, 44%, 44%)
HSVhsv(307, 61%, 64%)
CMYKcmyk(0%, 61.1%, 6.8%, 36.5%)
CIE-LABlab(43.47, 51.90, -28.62)
CIE-LCHlch(43.47, 59.26, 331.13°)
OKLaboklab(53.44% 0.1487 -0.0783)
OKLCHoklch(53.44% 0.168 332.2)
XYZxyz(22.2637, 13.4724, 30.7000)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23F97 #3FA24A
analogous
#7C3FA2 #A23F97 #A23F66
triadic
#A23F97 #97A23F #3F97A2
tetradic
#A23F97 #A27C3F #3FA24A #3F66A2
square
#A23F97 #A27C3F #3FA24A #3F66A2
split-complementary
#A23F97 #66A23F #3FA27C
monochromatic
#4A1D45 #762E6E #A23F97 #C05EB5 #D18ACA

Accessibility & contrast

On white

5.68
#A23F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A23F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23F97
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23F97#FFFFFF#000000##FFFFFF
##A23F971.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#A94765
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23f97;
/* rgb */ color: rgb(162, 63, 151);
/* oklch */ color: oklch(53.4% 0.168 332.2);
Tailwind
colors: {
  custom: {
    50: '#c07ab6',
    500: '#a23f97',
    950: '#000000',
  },
}
SCSS
$custom: #a23f97;
$custom-light: #c07ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23f97",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 306.667,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.168,
    "h": 332.2
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#A23F97
secondary
#81BC87
accent
#D46254
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A23F97

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

Preview Lab → · Contrast checker → · Palette generator →

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