#A23CA7#A23CA7

#A23CA7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.186 H 325.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A23CA7
RGBrgb(162, 60, 167)
HSLhsl(297, 47%, 45%)
HSVhsv(297, 64%, 65%)
CMYKcmyk(3%, 64.1%, 0%, 34.5%)
CIE-LABlab(43.81, 55.99, -37.65)
CIE-LCHlch(43.81, 67.47, 326.08°)
OKLaboklab(53.95% 0.1538 -0.1043)
OKLCHoklch(53.95% 0.186 325.9)
XYZxyz(23.4907, 13.7046, 37.9597)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CA7 #41A73C
analogous
#6C3CA7 #A23CA7 #A73C77
triadic
#A23CA7 #A7A23C #3CA7A2
tetradic
#A23CA7 #A76C3C #41A73C #3C77A7
square
#A23CA7 #A76C3C #41A73C #3C77A7
split-complementary
#A23CA7 #77A73C #3CA76C
monochromatic
#4B1C4D #762C7A #A23CA7 #BF5CC4 #D189D5

Accessibility & contrast

On white

5.61
#A23CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A23CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CA7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CA7#FFFFFF#000000##FFFFFF
##A23CA71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#A64B6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ca7;
/* rgb */ color: rgb(162, 60, 167);
/* oklch */ color: oklch(54.0% 0.186 325.9);
Tailwind
colors: {
  custom: {
    50: '#c179c1',
    500: '#a23ca7',
    950: '#000000',
  },
}
SCSS
$custom: #a23ca7;
$custom-light: #c179c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ca7",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 297.196,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.18582,
    "h": 325.9
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#A23CA7
secondary
#83BF80
accent
#D75157
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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