#A23EBA#A23EBA

#A23EBA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.3% C 0.200 H 319.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A23EBA
RGBrgb(162, 62, 186)
HSLhsl(288, 50%, 49%)
HSVhsv(288, 67%, 73%)
CMYKcmyk(12.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(45.18, 58.70, -46.66)
CIE-LCHlch(45.18, 74.98, 321.52°)
OKLaboklab(55.29% 0.1517 -0.1305)
OKLCHoklch(55.29% 0.2 319.3)
XYZxyz(25.4847, 14.6730, 47.9346)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EBA #56BA3E
analogous
#643EBA #A23EBA #BA3E94
triadic
#A23EBA #BAA23E #3EBAA2
tetradic
#A23EBA #BA643E #56BA3E #3E94BA
square
#A23EBA #BA643E #56BA3E #3E94BA
split-complementary
#A23EBA #94BA3E #3EBA64
monochromatic
#521F5E #7A2F8C #A23EBA #B968CD #CF96DC

Accessibility & contrast

On white

5.34
#A23EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A23EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EBA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EBA#FFFFFF#000000##FFFFFF
##A23EBA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BE
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#A25477
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23eba;
/* rgb */ color: rgb(162, 62, 186);
/* oklch */ color: oklch(55.3% 0.200 319.3);
Tailwind
colors: {
  custom: {
    50: '#c17bcf',
    500: '#a23eba',
    950: '#000000',
  },
}
SCSS
$custom: #a23eba;
$custom-light: #c17bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eba",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 288.387,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.2001,
    "h": 319.3
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#A23EBA
secondary
#98C88C
accent
#DA4E69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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