#A23BBB#A23BBB

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

Color values

HEX#A23BBB
RGBrgb(162, 59, 187)
HSLhsl(288, 52%, 48%)
HSVhsv(288, 68%, 73%)
CMYKcmyk(13.4%, 68.4%, 0%, 26.7%)
CIE-LABlab(44.80, 60.13, -47.86)
CIE-LCHlch(44.80, 76.85, 321.49°)
OKLaboklab(55.03% 0.1549 -0.134)
OKLCHoklch(55.03% 0.205 319.1)
XYZxyz(25.4327, 14.3984, 48.4436)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BBB #54BB3B
analogous
#623BBB #A23BBB #BB3B94
triadic
#A23BBB #BBA23B #3BBBA2
tetradic
#A23BBB #BB623B #54BB3B #3B94BB
square
#A23BBB #BB623B #54BB3B #3B94BB
split-complementary
#A23BBB #94BB3B #3BBB62
monochromatic
#511E5E #7A2C8C #A23BBB #BA65CE #CF93DD

Accessibility & contrast

On white

5.41
#A23BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A23BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BBB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BBB#FFFFFF#000000##FFFFFF
##A23BBB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23bbb;
/* rgb */ color: rgb(162, 59, 187);
/* oklch */ color: oklch(55.0% 0.205 319.1);
Tailwind
colors: {
  custom: {
    50: '#c179d0',
    500: '#a23bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a23bbb;
$custom-light: #c179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bbb",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 288.281,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.20485,
    "h": 319.1
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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