#A23EA8#A23EA8

#A23EA8 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.184 H 325.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A23EA8
RGBrgb(162, 62, 168)
HSLhsl(297, 46%, 45%)
HSVhsv(297, 63%, 66%)
CMYKcmyk(3.6%, 63.1%, 0%, 34.1%)
CIE-LABlab(44.17, 55.32, -37.67)
CIE-LCHlch(44.17, 66.92, 325.75°)
OKLaboklab(54.23% 0.1515 -0.1044)
OKLCHoklch(54.23% 0.184 325.4)
XYZxyz(23.6903, 13.9552, 38.4840)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA8 #44A83E
analogous
#6D3EA8 #A23EA8 #A83E79
triadic
#A23EA8 #A8A23E #3EA8A2
tetradic
#A23EA8 #A86D3E #44A83E #3E79A8
square
#A23EA8 #A86D3E #44A83E #3E79A8
split-complementary
#A23EA8 #79A83E #3EA86D
monochromatic
#4C1D4F #772E7B #A23EA8 #BE5FC4 #D08CD5

Accessibility & contrast

On white

5.54
#A23EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A23EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA8#FFFFFF#000000##FFFFFF
##A23EA81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#526DA5
Tritanopia (blue-blind)
#A64D6D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ea8;
/* rgb */ color: rgb(162, 62, 168);
/* oklch */ color: oklch(54.2% 0.184 325.4);
Tailwind
colors: {
  custom: {
    50: '#c07ac2',
    500: '#a23ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea8;
$custom-light: #c07ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea8",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 296.604,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.18393,
    "h": 325.4
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#A23EA8
secondary
#86BF83
accent
#D6525A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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