#A23EB5#A23EB5

#A23EB5 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.196 H 320.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A23EB5
RGBrgb(162, 62, 181)
HSLhsl(290, 49%, 48%)
HSVhsv(290, 66%, 71%)
CMYKcmyk(10.5%, 65.7%, 0%, 29%)
CIE-LABlab(44.89, 57.74, -44.19)
CIE-LCHlch(44.89, 72.71, 322.57°)
OKLaboklab(54.99% 0.1517 -0.1234)
OKLCHoklch(54.99% 0.196 320.9)
XYZxyz(24.9624, 14.4641, 45.1841)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EB5 #51B53E
analogous
#663EB5 #A23EB5 #B53E8D
triadic
#A23EB5 #B5A23E #3EB5A2
tetradic
#A23EB5 #B5663E #51B53E #3E8DB5
square
#A23EB5 #B5663E #51B53E #3E8DB5
split-complementary
#A23EB5 #8DB53E #3EB566
monochromatic
#501F5A #792E87 #A23EB5 #BA66CA #CF93DA

Accessibility & contrast

On white

5.39
#A23EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A23EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EB5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EB5#FFFFFF#000000##FFFFFF
##A23EB51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B9
Deuteranopia (green-blind)
#4A6EB2
Tritanopia (blue-blind)
#A35274
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23eb5;
/* rgb */ color: rgb(162, 62, 181);
/* oklch */ color: oklch(55.0% 0.196 320.9);
Tailwind
colors: {
  custom: {
    50: '#c17bcc',
    500: '#a23eb5',
    950: '#000000',
  },
}
SCSS
$custom: #a23eb5;
$custom-light: #c17bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eb5",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 290.42,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.19555,
    "h": 320.9
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#A23EB5
secondary
#93C589
accent
#D94F65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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