#A23BD5#A23BD5

#A23BD5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.229 H 311.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A23BD5
RGBrgb(162, 59, 213)
HSLhsl(280, 65%, 53%)
HSVhsv(280, 72%, 84%)
CMYKcmyk(23.9%, 72.3%, 0%, 16.5%)
CIE-LABlab(46.46, 65.31, -60.23)
CIE-LCHlch(46.46, 88.84, 317.32°)
OKLaboklab(56.75% 0.1525 -0.1703)
OKLCHoklch(56.75% 0.229 311.8)
XYZxyz(28.4723, 15.6142, 64.4519)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BD5 #6ED53B
analogous
#553BD5 #A23BD5 #D53BBB
triadic
#A23BD5 #D5A23B #3BD5A2
tetradic
#A23BD5 #D5553B #6ED53B #3BBBD5
square
#A23BD5 #D5553B #6ED53B #3BBBD5
split-complementary
#A23BD5 #BBD53B #3BD555
monochromatic
#5B1A7B #8025AE #A23BD5 #BA6DE0 #D2A0EB

Accessibility & contrast

On white

5.09
#A23BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A23BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BD5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BD5#FFFFFF#000000##FFFFFF
##A23BD51.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#9C5D85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23bd5;
/* rgb */ color: rgb(162, 59, 213);
/* oklch */ color: oklch(56.8% 0.229 311.8);
Tailwind
colors: {
  custom: {
    50: '#c27ae3',
    500: '#a23bd5',
    950: '#000000',
  },
}
SCSS
$custom: #a23bd5;
$custom-light: #c27ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bd5",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 280.13,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.22859,
    "h": 311.8
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#A23BD5
secondary
#ABD795
accent
#E84078
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A23BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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