#A23BBD#A23BBD

#A23BBD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.207 H 318.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A23BBD
RGBrgb(162, 59, 189)
HSLhsl(288, 52%, 49%)
HSVhsv(288, 69%, 74%)
CMYKcmyk(14.3%, 68.8%, 0%, 25.9%)
CIE-LABlab(44.92, 60.52, -48.83)
CIE-LCHlch(44.92, 77.76, 321.10°)
OKLaboklab(55.16% 0.1548 -0.1369)
OKLCHoklch(55.16% 0.207 318.5)
XYZxyz(25.6483, 14.4846, 49.5790)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BBD #56BD3B
analogous
#613BBD #A23BBD #BD3B97
triadic
#A23BBD #BDA23B #3BBDA2
tetradic
#A23BBD #BD613B #56BD3B #3B97BD
square
#A23BBD #BD613B #56BD3B #3B97BD
split-complementary
#A23BBD #97BD3B #3BBD61
monochromatic
#521E60 #7A2C8E #A23BBD #B966CF #CF95DE

Accessibility & contrast

On white

5.39
#A23BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A23BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BBD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BBD#FFFFFF#000000##FFFFFF
##A23BBD1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#A25378
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23bbd;
/* rgb */ color: rgb(162, 59, 189);
/* oklch */ color: oklch(55.2% 0.207 318.5);
Tailwind
colors: {
  custom: {
    50: '#c179d1',
    500: '#a23bbd',
    950: '#000000',
  },
}
SCSS
$custom: #a23bbd;
$custom-light: #c179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bbd",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 287.538,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.20665,
    "h": 318.5
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#A23BBD
secondary
#98C98B
accent
#DC4C6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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