#A23DD4#A23DD4

#A23DD4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.225 H 311.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A23DD4
RGBrgb(162, 61, 212)
HSLhsl(280, 64%, 54%)
HSVhsv(280, 71%, 83%)
CMYKcmyk(23.6%, 71.2%, 0%, 16.9%)
CIE-LABlab(46.68, 64.31, -59.32)
CIE-LCHlch(46.68, 87.49, 317.32°)
OKLaboklab(56.88% 0.1507 -0.1676)
OKLCHoklch(56.88% 0.225 311.9)
XYZxyz(28.4505, 15.7731, 63.8204)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DD4 #6FD43D
analogous
#563DD4 #A23DD4 #D43DBB
triadic
#A23DD4 #D4A23D #3DD4A2
tetradic
#A23DD4 #D4563D #6FD43D #3DBBD4
square
#A23DD4 #D4563D #6FD43D #3DBBD4
split-complementary
#A23DD4 #BBD43D #3DD456
monochromatic
#5C1B7B #8126AD #A23DD4 #BA6FDF #D2A1EA

Accessibility & contrast

On white

5.05
#A23DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A23DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DD4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DD4#FFFFFF#000000##FFFFFF
##A23DD41.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#2A71D1
Tritanopia (blue-blind)
#9C5E85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23dd4;
/* rgb */ color: rgb(162, 61, 212);
/* oklch */ color: oklch(56.9% 0.225 311.9);
Tailwind
colors: {
  custom: {
    50: '#c27be2',
    500: '#a23dd4',
    950: '#000000',
  },
}
SCSS
$custom: #a23dd4;
$custom-light: #c27be2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dd4",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 280.132,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.2254,
    "h": 311.9
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#A23DD4
secondary
#ABD796
accent
#E74178
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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