#A23BB5#A23BB5

#A23BB5 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 321.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A23BB5
RGBrgb(162, 59, 181)
HSLhsl(291, 51%, 47%)
HSVhsv(291, 67%, 71%)
CMYKcmyk(10.5%, 67.4%, 0%, 29%)
CIE-LABlab(44.44, 58.99, -44.91)
CIE-LCHlch(44.44, 74.14, 322.72°)
OKLaboklab(54.66% 0.1551 -0.1254)
OKLCHoklch(54.66% 0.199 321)
XYZxyz(24.8038, 14.1468, 45.1312)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB5 #4EB53B
analogous
#653BB5 #A23BB5 #B53B8B
triadic
#A23BB5 #B5A23B #3BB5A2
tetradic
#A23BB5 #B5653B #4EB53B #3B8BB5
square
#A23BB5 #B5653B #4EB53B #3B8BB5
split-complementary
#A23BB5 #8BB53B #3BB565
monochromatic
#4F1D59 #792C87 #A23BB5 #BB62CC #CF90DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23BB5#FFFFFF#000000##FFFFFF
##A23BB51.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)
#1362B9
Deuteranopia (green-blind)
#486DB2
Tritanopia (blue-blind)
#A35073
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23bb5;
/* rgb */ color: rgb(162, 59, 181);
/* oklch */ color: oklch(54.7% 0.199 321.0);
Tailwind
colors: {
  custom: {
    50: '#c179cc',
    500: '#a23bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb5;
$custom-light: #c179cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb5",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 290.656,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.19946,
    "h": 321
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#A23BB5
secondary
#90C686
accent
#DA4D63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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