#A23FD1#A23FD1

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

Color values

HEX#A23FD1
RGBrgb(162, 63, 209)
HSLhsl(281, 61%, 53%)
HSVhsv(281, 70%, 82%)
CMYKcmyk(22.5%, 69.9%, 0%, 18%)
CIE-LABlab(46.76, 62.88, -57.45)
CIE-LCHlch(46.76, 85.18, 317.59°)
OKLaboklab(56.88% 0.149 -0.1622)
OKLCHoklch(56.88% 0.22 312.6)
XYZxyz(28.1844, 15.8406, 61.8821)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD1 #6ED13F
analogous
#593FD1 #A23FD1 #D13FB7
triadic
#A23FD1 #D1A23F #3FD1A2
tetradic
#A23FD1 #D1593F #6ED13F #3FB7D1
square
#A23FD1 #D1593F #6ED13F #3FB7D1
split-complementary
#A23FD1 #B7D13F #3FD159
monochromatic
#5B1D79 #8029AA #A23FD1 #BA70DD #D2A2E9

Accessibility & contrast

On white

5.04
#A23FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A23FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD1#FFFFFF#000000##FFFFFF
##A23FD11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#9D5E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23fd1;
/* rgb */ color: rgb(162, 63, 209);
/* oklch */ color: oklch(56.9% 0.220 312.6);
Tailwind
colors: {
  custom: {
    50: '#c27ce0',
    500: '#a23fd1',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd1;
$custom-light: #c27ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd1",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 280.685,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.22025,
    "h": 312.6
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#A23FD1
secondary
#ABD597
accent
#E44377
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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