#A23EB2#A23EB2

#A23EB2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.193 H 321.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A23EB2
RGBrgb(162, 62, 178)
HSLhsl(292, 48%, 47%)
HSVhsv(292, 65%, 70%)
CMYKcmyk(9%, 65.2%, 0%, 30.2%)
CIE-LABlab(44.72, 57.17, -42.70)
CIE-LCHlch(44.72, 71.36, 323.24°)
OKLaboklab(54.81% 0.1517 -0.119)
OKLCHoklch(54.81% 0.193 321.9)
XYZxyz(24.6579, 14.3423, 43.5804)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EB2 #4EB23E
analogous
#683EB2 #A23EB2 #B23E88
triadic
#A23EB2 #B2A23E #3EB2A2
tetradic
#A23EB2 #B2683E #4EB23E #3E88B2
square
#A23EB2 #B2683E #4EB23E #3E88B2
split-complementary
#A23EB2 #88B23E #3EB268
monochromatic
#4F1E57 #792E85 #A23EB2 #BB64C9 #CF92D9

Accessibility & contrast

On white

5.43
#A23EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A23EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EB2#FFFFFF#000000##FFFFFF
##A23EB21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#A45173
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23eb2;
/* rgb */ color: rgb(162, 62, 178);
/* oklch */ color: oklch(54.8% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#c17bc9',
    500: '#a23eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a23eb2;
$custom-light: #c17bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eb2",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 291.724,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.19284,
    "h": 321.9
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#A23EB2
secondary
#90C488
accent
#D85063
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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