#A23CB8#A23CB8

#A23CB8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.201 H 320.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A23CB8
RGBrgb(162, 60, 184)
HSLhsl(289, 51%, 48%)
HSVhsv(289, 67%, 72%)
CMYKcmyk(12%, 67.4%, 0%, 27.8%)
CIE-LABlab(44.77, 59.15, -46.15)
CIE-LCHlch(44.77, 75.02, 322.04°)
OKLaboklab(54.95% 0.1539 -0.1291)
OKLCHoklch(54.95% 0.201 320)
XYZxyz(25.1668, 14.3750, 46.7871)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB8 #52B83C
analogous
#643CB8 #A23CB8 #B83C90
triadic
#A23CB8 #B8A23C #3CB8A2
tetradic
#A23CB8 #B8643C #52B83C #3C90B8
square
#A23CB8 #B8643C #52B83C #3C90B8
split-complementary
#A23CB8 #90B83C #3CB864
monochromatic
#511E5C #792D8A #A23CB8 #BA65CD #CF93DC

Accessibility & contrast

On white

5.42
#A23CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A23CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB8#FFFFFF#000000##FFFFFF
##A23CB81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BC
Deuteranopia (green-blind)
#476DB5
Tritanopia (blue-blind)
#A35275
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23cb8;
/* rgb */ color: rgb(162, 60, 184);
/* oklch */ color: oklch(55.0% 0.201 320.0);
Tailwind
colors: {
  custom: {
    50: '#c17ace',
    500: '#a23cb8',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb8;
$custom-light: #c17ace;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb8",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 289.355,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.20088,
    "h": 320
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#A23CB8
secondary
#94C789
accent
#DA4D66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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