#A23CB2#A23CB2

#A23CB2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.196 H 322.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A23CB2
RGBrgb(162, 60, 178)
HSLhsl(292, 50%, 47%)
HSVhsv(292, 66%, 70%)
CMYKcmyk(9%, 66.3%, 0%, 30.2%)
CIE-LABlab(44.42, 58.01, -43.18)
CIE-LCHlch(44.42, 72.32, 323.34°)
OKLaboklab(54.59% 0.154 -0.1204)
OKLCHoklch(54.59% 0.196 322)
XYZxyz(24.5512, 14.1288, 43.5448)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB2 #4CB23C
analogous
#673CB2 #A23CB2 #B23C87
triadic
#A23CB2 #B2A23C #3CB2A2
tetradic
#A23CB2 #B2673C #4CB23C #3C87B2
square
#A23CB2 #B2673C #4CB23C #3C87B2
split-complementary
#A23CB2 #87B23C #3CB267
monochromatic
#4F1D56 #782D84 #A23CB2 #BC61CA #CF8FD9

Accessibility & contrast

On white

5.49
#A23CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A23CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB2#FFFFFF#000000##FFFFFF
##A23CB21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#A45072
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23cb2;
/* rgb */ color: rgb(162, 60, 178);
/* oklch */ color: oklch(54.6% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#c17ac9',
    500: '#a23cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb2;
$custom-light: #c17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb2",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 291.864,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.1955,
    "h": 322
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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