#A23EB8#A23EB8

#A23EB8 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.198 H 319.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A23EB8
RGBrgb(162, 62, 184)
HSLhsl(289, 50%, 48%)
HSVhsv(289, 66%, 72%)
CMYKcmyk(12%, 66.3%, 0%, 27.8%)
CIE-LABlab(45.07, 58.31, -45.67)
CIE-LCHlch(45.07, 74.07, 321.93°)
OKLaboklab(55.17% 0.1517 -0.1277)
OKLCHoklch(55.17% 0.198 319.9)
XYZxyz(25.2736, 14.5885, 46.8227)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EB8 #54B83E
analogous
#653EB8 #A23EB8 #B83E91
triadic
#A23EB8 #B8A23E #3EB8A2
tetradic
#A23EB8 #B8653E #54B83E #3E91B8
square
#A23EB8 #B8653E #54B83E #3E91B8
split-complementary
#A23EB8 #91B83E #3EB865
monochromatic
#511F5C #7A2F8A #A23EB8 #BA67CC #CF95DB

Accessibility & contrast

On white

5.36
#A23EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A23EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EB8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EB8#FFFFFF#000000##FFFFFF
##A23EB81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#A35376
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23eb8;
/* rgb */ color: rgb(162, 62, 184);
/* oklch */ color: oklch(55.2% 0.198 319.9);
Tailwind
colors: {
  custom: {
    50: '#c17bce',
    500: '#a23eb8',
    950: '#000000',
  },
}
SCSS
$custom: #a23eb8;
$custom-light: #c17bce;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eb8",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 289.18,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.19828,
    "h": 319.9
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#A23EB8
secondary
#96C78B
accent
#D94F68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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