#A23BD4#A23BD4

#A23BD4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.228 H 312.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A23BD4
RGBrgb(162, 59, 212)
HSLhsl(280, 64%, 53%)
HSVhsv(280, 72%, 83%)
CMYKcmyk(23.6%, 72.2%, 0%, 16.9%)
CIE-LABlab(46.40, 65.11, -59.77)
CIE-LCHlch(46.40, 88.38, 317.45°)
OKLaboklab(56.68% 0.1526 -0.169)
OKLCHoklch(56.68% 0.228 312.1)
XYZxyz(28.3457, 15.5636, 63.7855)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BD4 #6DD43B
analogous
#553BD4 #A23BD4 #D43BBA
triadic
#A23BD4 #D4A23B #3BD4A2
tetradic
#A23BD4 #D4553B #6DD43B #3BBAD4
square
#A23BD4 #D4553B #6DD43B #3BBAD4
split-complementary
#A23BD4 #BAD43B #3BD455
monochromatic
#5B1B7A #8026AC #A23BD4 #BA6DDF #D29FEA

Accessibility & contrast

On white

5.11
#A23BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A23BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BD4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BD4#FFFFFF#000000##FFFFFF
##A23BD41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#2770D1
Tritanopia (blue-blind)
#9C5D84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23bd4;
/* rgb */ color: rgb(162, 59, 212);
/* oklch */ color: oklch(56.7% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#c27ae2',
    500: '#a23bd4',
    950: '#000000',
  },
}
SCSS
$custom: #a23bd4;
$custom-light: #c27ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bd4",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 280.392,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.22767,
    "h": 312.1
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#A23BD4
secondary
#AAD694
accent
#E74177
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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