#A23CBB#A23CBB

#A23CBB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.204 H 319.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A23CBB
RGBrgb(162, 60, 187)
HSLhsl(288, 51%, 48%)
HSVhsv(288, 68%, 73%)
CMYKcmyk(13.4%, 67.9%, 0%, 26.7%)
CIE-LABlab(44.94, 59.72, -47.62)
CIE-LCHlch(44.94, 76.39, 321.43°)
OKLaboklab(55.14% 0.1538 -0.1334)
OKLCHoklch(55.14% 0.204 319.1)
XYZxyz(25.4846, 14.5021, 48.4609)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CBB #55BB3C
analogous
#623CBB #A23CBB #BB3C94
triadic
#A23CBB #BBA23C #3CBBA2
tetradic
#A23CBB #BB623C #55BB3C #3C94BB
square
#A23CBB #BB623C #55BB3C #3C94BB
split-complementary
#A23CBB #94BB3C #3CBB62
monochromatic
#521E5E #7A2D8D #A23CBB #BA66CE #CF95DD

Accessibility & contrast

On white

5.38
#A23CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A23CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CBB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CBB#FFFFFF#000000##FFFFFF
##A23CBB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#A25377
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23cbb;
/* rgb */ color: rgb(162, 60, 187);
/* oklch */ color: oklch(55.1% 0.204 319.1);
Tailwind
colors: {
  custom: {
    50: '#c17ad0',
    500: '#a23cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a23cbb;
$custom-light: #c17ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cbb",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 288.189,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.20359,
    "h": 319.1
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#A23CBB
secondary
#97C88B
accent
#DB4D69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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