#A23CB5#A23CB5

#A23CB5 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.8% C 0.198 H 321.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A23CB5
RGBrgb(162, 60, 181)
HSLhsl(291, 50%, 47%)
HSVhsv(291, 67%, 71%)
CMYKcmyk(10.5%, 66.9%, 0%, 29%)
CIE-LABlab(44.59, 58.58, -44.67)
CIE-LCHlch(44.59, 73.67, 322.67°)
OKLaboklab(54.77% 0.154 -0.1247)
OKLCHoklch(54.77% 0.198 321)
XYZxyz(24.8557, 14.2506, 45.1485)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB5 #4FB53C
analogous
#663CB5 #A23CB5 #B53C8B
triadic
#A23CB5 #B5A23C #3CB5A2
tetradic
#A23CB5 #B5663C #4FB53C #3C8BB5
square
#A23CB5 #B5663C #4FB53C #3C8BB5
split-complementary
#A23CB5 #8BB53C #3CB566
monochromatic
#501E59 #792D87 #A23CB5 #BB63CB #CF91DB

Accessibility & contrast

On white

5.45
#A23CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB5#FFFFFF#000000##FFFFFF
##A23CB51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B9
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#A35174
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23cb5;
/* rgb */ color: rgb(162, 60, 181);
/* oklch */ color: oklch(54.8% 0.198 321.0);
Tailwind
colors: {
  custom: {
    50: '#c17acc',
    500: '#a23cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb5;
$custom-light: #c17acc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb5",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 290.579,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.19817,
    "h": 321
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#A23CB5
secondary
#91C687
accent
#DA4E64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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