#A23CBA#A23CBA

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

Color values

HEX#A23CBA
RGBrgb(162, 60, 186)
HSLhsl(289, 51%, 48%)
HSVhsv(289, 68%, 73%)
CMYKcmyk(12.9%, 67.7%, 0%, 27.1%)
CIE-LABlab(44.88, 59.53, -47.13)
CIE-LCHlch(44.88, 75.93, 321.63°)
OKLaboklab(55.08% 0.1539 -0.1319)
OKLCHoklch(55.08% 0.203 319.4)
XYZxyz(25.3779, 14.4595, 47.8990)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CBA #54BA3C
analogous
#633CBA #A23CBA #BA3C93
triadic
#A23CBA #BAA23C #3CBAA2
tetradic
#A23CBA #BA633C #54BA3C #3C93BA
square
#A23CBA #BA633C #54BA3C #3C93BA
split-complementary
#A23CBA #93BA3C #3CBA63
monochromatic
#511E5D #7A2D8C #A23CBA #BA66CE #CF94DC

Accessibility & contrast

On white

5.40
#A23CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A23CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CBA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CBA#FFFFFF#000000##FFFFFF
##A23CBA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#A25376
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23cba;
/* rgb */ color: rgb(162, 60, 186);
/* oklch */ color: oklch(55.1% 0.203 319.4);
Tailwind
colors: {
  custom: {
    50: '#c17acf',
    500: '#a23cba',
    950: '#000000',
  },
}
SCSS
$custom: #a23cba;
$custom-light: #c17acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cba",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 288.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.20268,
    "h": 319.4
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#A23CBA
secondary
#96C88A
accent
#DB4D68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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