#A23FD2#A23FD2

#A23FD2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.221 H 312.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A23FD2
RGBrgb(162, 63, 210)
HSLhsl(280, 62%, 54%)
HSVhsv(280, 70%, 82%)
CMYKcmyk(22.9%, 70%, 0%, 17.6%)
CIE-LABlab(46.83, 63.09, -57.92)
CIE-LCHlch(46.83, 85.64, 317.45°)
OKLaboklab(56.95% 0.1489 -0.1635)
OKLCHoklch(56.95% 0.221 312.3)
XYZxyz(28.3085, 15.8903, 62.5362)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD2 #6FD23F
analogous
#583FD2 #A23FD2 #D23FB8
triadic
#A23FD2 #D2A23F #3FD2A2
tetradic
#A23FD2 #D2583F #6FD23F #3FB8D2
square
#A23FD2 #D2583F #6FD23F #3FB8D2
split-complementary
#A23FD2 #B8D23F #3FD258
monochromatic
#5C1D7A #8128AC #A23FD2 #BA71DE #D2A2E9

Accessibility & contrast

On white

5.03
#A23FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A23FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD2#FFFFFF#000000##FFFFFF
##A23FD21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#9C5E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23fd2;
/* rgb */ color: rgb(162, 63, 210);
/* oklch */ color: oklch(56.9% 0.221 312.3);
Tailwind
colors: {
  custom: {
    50: '#c27ce1',
    500: '#a23fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd2;
$custom-light: #c27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd2",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 280.408,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.22118,
    "h": 312.3
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#A23FD2
secondary
#ABD697
accent
#E54378
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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