#A23BB2#A23BB2

#A23BB2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.197 H 322.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A23BB2
RGBrgb(162, 59, 178)
HSLhsl(292, 50%, 46%)
HSVhsv(292, 67%, 70%)
CMYKcmyk(9%, 66.9%, 0%, 30.2%)
CIE-LABlab(44.27, 58.43, -43.42)
CIE-LCHlch(44.27, 72.79, 323.38°)
OKLaboklab(54.48% 0.1551 -0.1211)
OKLCHoklch(54.48% 0.197 322)
XYZxyz(24.4993, 14.0250, 43.5275)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB2 #4BB23B
analogous
#673BB2 #A23BB2 #B23B87
triadic
#A23BB2 #B2A23B #3BB2A2
tetradic
#A23BB2 #B2673B #4BB23B #3B87B2
square
#A23BB2 #B2673B #4BB23B #3B87B2
split-complementary
#A23BB2 #87B23B #3BB267
monochromatic
#4E1D56 #782C84 #A23BB2 #BC60CA #CF8EDA

Accessibility & contrast

On white

5.52
#A23BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23BB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB2#FFFFFF#000000##FFFFFF
##A23BB21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#4A6DAF
Tritanopia (blue-blind)
#A44F72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23bb2;
/* rgb */ color: rgb(162, 59, 178);
/* oklch */ color: oklch(54.5% 0.197 322.0);
Tailwind
colors: {
  custom: {
    50: '#c179c9',
    500: '#a23bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb2;
$custom-light: #c179c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb2",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 291.933,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.1968,
    "h": 322
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#A23BB2
secondary
#8DC485
accent
#DA4E61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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