#A23697#A23697

#A23697 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.181 H 332.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A23697
RGBrgb(162, 54, 151)
HSLhsl(306, 50%, 42%)
HSVhsv(306, 67%, 64%)
CMYKcmyk(0%, 66.7%, 6.8%, 36.5%)
CIE-LABlab(42.09, 55.72, -30.78)
CIE-LCHlch(42.09, 63.65, 331.08°)
OKLaboklab(52.43% 0.1597 -0.0844)
OKLCHoklch(52.43% 0.181 332.1)
XYZxyz(21.8054, 12.5558, 30.5472)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23697 #36A241
analogous
#7736A2 #A23697 #A23661
triadic
#A23697 #97A236 #3697A2
tetradic
#A23697 #A27736 #36A241 #3661A2
square
#A23697 #A27736 #36A241 #3661A2
split-complementary
#A23697 #61A236 #36A277
monochromatic
#461741 #74276C #A23697 #C550B9 #D47ECB

Accessibility & contrast

On white

5.98
#A23697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A23697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23697
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23697#FFFFFF#000000##FFFFFF
##A236971.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#A94062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23697;
/* rgb */ color: rgb(162, 54, 151);
/* oklch */ color: oklch(52.4% 0.181 332.1);
Tailwind
colors: {
  custom: {
    50: '#c176b6',
    500: '#a23697',
    950: '#000000',
  },
}
SCSS
$custom: #a23697;
$custom-light: #c176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23697",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 306.111,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.18065,
    "h": 332.1
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#A23697
secondary
#77BD7E
accent
#DA5C4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23697

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

Preview Lab → · Contrast checker → · Palette generator →

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