#A23BBA#A23BBA

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

Color values

HEX#A23BBA
RGBrgb(162, 59, 186)
HSLhsl(289, 52%, 48%)
HSVhsv(289, 68%, 73%)
CMYKcmyk(12.9%, 68.3%, 0%, 27.1%)
CIE-LABlab(44.74, 59.94, -47.37)
CIE-LCHlch(44.74, 76.40, 321.68°)
OKLaboklab(54.97% 0.155 -0.1326)
OKLCHoklch(54.97% 0.204 319.4)
XYZxyz(25.3260, 14.3557, 47.8817)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BBA #53BA3B
analogous
#623BBA #A23BBA #BA3B93
triadic
#A23BBA #BAA23B #3BBAA2
tetradic
#A23BBA #BA623B #53BA3B #3B93BA
square
#A23BBA #BA623B #53BA3B #3B93BA
split-complementary
#A23BBA #93BA3B #3BBA62
monochromatic
#511E5D #7A2C8C #A23BBA #BA64CE #CF93DD

Accessibility & contrast

On white

5.43
#A23BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23BBA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BBA#FFFFFF#000000##FFFFFF
##A23BBA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#A25276
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23bba;
/* rgb */ color: rgb(162, 59, 186);
/* oklch */ color: oklch(55.0% 0.204 319.4);
Tailwind
colors: {
  custom: {
    50: '#c179cf',
    500: '#a23bba',
    950: '#000000',
  },
}
SCSS
$custom: #a23bba;
$custom-light: #c179cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bba",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 288.661,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.20395,
    "h": 319.4
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#A23BBA
secondary
#95C889
accent
#DB4D67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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