#A23FD3#A23FD3

#A23FD3 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.222 H 312.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A23FD3
RGBrgb(162, 63, 211)
HSLhsl(280, 63%, 54%)
HSVhsv(280, 70%, 83%)
CMYKcmyk(23.2%, 70.1%, 0%, 17.3%)
CIE-LABlab(46.90, 63.30, -58.39)
CIE-LCHlch(46.90, 86.11, 317.31°)
OKLaboklab(57.02% 0.1488 -0.1649)
OKLCHoklch(57.02% 0.222 312.1)
XYZxyz(28.4335, 15.9403, 63.1944)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD3 #70D33F
analogous
#583FD3 #A23FD3 #D33FBA
triadic
#A23FD3 #D3A23F #3FD3A2
tetradic
#A23FD3 #D3583F #70D33F #3FBAD3
square
#A23FD3 #D3583F #70D33F #3FBAD3
split-complementary
#A23FD3 #BAD33F #3FD358
monochromatic
#5C1C7B #8128AD #A23FD3 #BA71DE #D2A3EA

Accessibility & contrast

On white

5.01
#A23FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A23FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD3#FFFFFF#000000##FFFFFF
##A23FD31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#9C5F85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23fd3;
/* rgb */ color: rgb(162, 63, 211);
/* oklch */ color: oklch(57.0% 0.222 312.1);
Tailwind
colors: {
  custom: {
    50: '#c27ce1',
    500: '#a23fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd3;
$custom-light: #c27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd3",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 280.135,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.22213,
    "h": 312.1
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#A23FD3
secondary
#ACD797
accent
#E64278
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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