#A23BB1#A23BB1

#A23BB1 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.196 H 322.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A23BB1
RGBrgb(162, 59, 177)
HSLhsl(292, 50%, 46%)
HSVhsv(292, 67%, 69%)
CMYKcmyk(8.5%, 66.7%, 0%, 30.6%)
CIE-LABlab(44.21, 58.24, -42.92)
CIE-LCHlch(44.21, 72.35, 323.61°)
OKLaboklab(54.42% 0.1552 -0.1196)
OKLCHoklch(54.42% 0.196 322.4)
XYZxyz(24.3993, 13.9850, 43.0006)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB1 #4AB13B
analogous
#673BB1 #A23BB1 #B13B85
triadic
#A23BB1 #B1A23B #3BB1A2
tetradic
#A23BB1 #B1673B #4AB13B #3B85B1
square
#A23BB1 #B1673B #4AB13B #3B85B1
split-complementary
#A23BB1 #85B13B #3BB167
monochromatic
#4E1C55 #782C83 #A23BB1 #BC5FCA #CF8DD9

Accessibility & contrast

On white

5.53
#A23BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A23BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BB1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB1#FFFFFF#000000##FFFFFF
##A23BB11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#A44F71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23bb1;
/* rgb */ color: rgb(162, 59, 177);
/* oklch */ color: oklch(54.4% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#c179c9',
    500: '#a23bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb1;
$custom-light: #c179c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb1",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 292.373,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.19592,
    "h": 322.4
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#A23BB1
secondary
#8CC484
accent
#DA4E60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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