#A23CB1#A23CB1

#A23CB1 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.195 H 322.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A23CB1
RGBrgb(162, 60, 177)
HSLhsl(292, 49%, 46%)
HSVhsv(292, 66%, 69%)
CMYKcmyk(8.5%, 66.1%, 0%, 30.6%)
CIE-LABlab(44.36, 57.83, -42.69)
CIE-LCHlch(44.36, 71.87, 323.57°)
OKLaboklab(54.53% 0.154 -0.1189)
OKLCHoklch(54.53% 0.195 322.3)
XYZxyz(24.4511, 14.0887, 43.0179)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB1 #4BB13C
analogous
#683CB1 #A23CB1 #B13C86
triadic
#A23CB1 #B1A23C #3CB1A2
tetradic
#A23CB1 #B1683C #4BB13C #3C86B1
square
#A23CB1 #B1683C #4BB13C #3C86B1
split-complementary
#A23CB1 #86B13C #3CB168
monochromatic
#4E1D56 #782D83 #A23CB1 #BC61C9 #CF8FD9

Accessibility & contrast

On white

5.50
#A23CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A23CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB1#FFFFFF#000000##FFFFFF
##A23CB11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B4
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#A44F71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23cb1;
/* rgb */ color: rgb(162, 60, 177);
/* oklch */ color: oklch(54.5% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#c17ac9',
    500: '#a23cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb1;
$custom-light: #c17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb1",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 292.308,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5453,
    "c": 0.19461,
    "h": 322.3
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#A23CB1
secondary
#8DC485
accent
#D94F61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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