#A23CB3#A23CB3

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

Color values

HEX#A23CB3
RGBrgb(162, 60, 179)
HSLhsl(291, 50%, 47%)
HSVhsv(291, 66%, 70%)
CMYKcmyk(9.5%, 66.5%, 0%, 29.8%)
CIE-LABlab(44.47, 58.20, -43.68)
CIE-LCHlch(44.47, 72.77, 323.11°)
OKLaboklab(54.65% 0.154 -0.1218)
OKLCHoklch(54.65% 0.196 321.7)
XYZxyz(24.6519, 14.1691, 44.0755)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB3 #4DB33C
analogous
#673CB3 #A23CB3 #B33C88
triadic
#A23CB3 #B3A23C #3CB3A2
tetradic
#A23CB3 #B3673C #4DB33C #3C88B3
square
#A23CB3 #B3673C #4DB33C #3C88B3
split-complementary
#A23CB3 #88B33C #3CB367
monochromatic
#4F1D57 #792D85 #A23CB3 #BB62CA #CF90DA

Accessibility & contrast

On white

5.48
#A23CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23CB3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB3#FFFFFF#000000##FFFFFF
##A23CB31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#A45073
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23cb3;
/* rgb */ color: rgb(162, 60, 179);
/* oklch */ color: oklch(54.6% 0.196 321.7);
Tailwind
colors: {
  custom: {
    50: '#c17aca',
    500: '#a23cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb3;
$custom-light: #c17aca;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb3",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 291.429,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.19639,
    "h": 321.7
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#A23CB3
secondary
#8FC586
accent
#D94E62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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