#A23BB8#A23BB8

#A23BB8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.8% C 0.202 H 320.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A23BB8
RGBrgb(162, 59, 184)
HSLhsl(289, 51%, 48%)
HSVhsv(289, 68%, 72%)
CMYKcmyk(12%, 67.9%, 0%, 27.8%)
CIE-LABlab(44.62, 59.56, -46.39)
CIE-LCHlch(44.62, 75.49, 322.09°)
OKLaboklab(54.85% 0.155 -0.1297)
OKLCHoklch(54.85% 0.202 320.1)
XYZxyz(25.1149, 14.2712, 46.7698)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB8 #51B83B
analogous
#643BB8 #A23BB8 #B83B8F
triadic
#A23BB8 #B8A23B #3BB8A2
tetradic
#A23BB8 #B8643B #51B83B #3B8FB8
square
#A23BB8 #B8643B #51B83B #3B8FB8
split-complementary
#A23BB8 #8FB83B #3BB864
monochromatic
#501D5B #792C8A #A23BB8 #BA63CD #CF92DC

Accessibility & contrast

On white

5.45
#A23BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BB8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB8#FFFFFF#000000##FFFFFF
##A23BB81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BC
Deuteranopia (green-blind)
#466DB5
Tritanopia (blue-blind)
#A35175
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23bb8;
/* rgb */ color: rgb(162, 59, 184);
/* oklch */ color: oklch(54.8% 0.202 320.1);
Tailwind
colors: {
  custom: {
    50: '#c179ce',
    500: '#a23bb8',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb8;
$custom-light: #c179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb8",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 289.44,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.20215,
    "h": 320.1
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#A23BB8
secondary
#93C788
accent
#DB4D66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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