#A23CA6#A23CA6

#A23CA6 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.185 H 326.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A23CA6
RGBrgb(162, 60, 166)
HSLhsl(298, 47%, 44%)
HSVhsv(298, 64%, 65%)
CMYKcmyk(2.4%, 63.9%, 0%, 34.9%)
CIE-LABlab(43.75, 55.81, -37.14)
CIE-LCHlch(43.75, 67.04, 326.36°)
OKLaboklab(53.9% 0.1537 -0.1028)
OKLCHoklch(53.9% 0.185 326.2)
XYZxyz(23.3986, 13.6677, 37.4747)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CA6 #40A63C
analogous
#6D3CA6 #A23CA6 #A63C75
triadic
#A23CA6 #A6A23C #3CA6A2
tetradic
#A23CA6 #A66D3C #40A63C #3C75A6
square
#A23CA6 #A66D3C #40A63C #3C75A6
split-complementary
#A23CA6 #75A63C #3CA66D
monochromatic
#4A1C4C #762C79 #A23CA6 #C05BC4 #D188D4

Accessibility & contrast

On white

5.63
#A23CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A23CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CA6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CA6#FFFFFF#000000##FFFFFF
##A23CA61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#526CA3
Tritanopia (blue-blind)
#A64B6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23ca6;
/* rgb */ color: rgb(162, 60, 166);
/* oklch */ color: oklch(53.9% 0.185 326.2);
Tailwind
colors: {
  custom: {
    50: '#c179c1',
    500: '#a23ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a23ca6;
$custom-light: #c179c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ca6",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 297.736,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.18495,
    "h": 326.2
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#A23CA6
secondary
#82BE7F
accent
#D75156
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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