#A23EB6#A23EB6

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

Color values

HEX#A23EB6
RGBrgb(162, 62, 182)
HSLhsl(290, 49%, 48%)
HSVhsv(290, 66%, 71%)
CMYKcmyk(11%, 65.9%, 0%, 28.6%)
CIE-LABlab(44.95, 57.93, -44.69)
CIE-LCHlch(44.95, 73.16, 322.35°)
OKLaboklab(55.05% 0.1517 -0.1248)
OKLCHoklch(55.05% 0.196 320.6)
XYZxyz(25.0654, 14.5053, 45.7264)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EB6 #52B63E
analogous
#663EB6 #A23EB6 #B63E8E
triadic
#A23EB6 #B6A23E #3EB6A2
tetradic
#A23EB6 #B6663E #52B63E #3E8EB6
square
#A23EB6 #B6663E #52B63E #3E8EB6
split-complementary
#A23EB6 #8EB63E #3EB666
monochromatic
#511F5B #792E88 #A23EB6 #BA66CB #CF94DB

Accessibility & contrast

On white

5.38
#A23EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A23EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EB6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EB6#FFFFFF#000000##FFFFFF
##A23EB61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963BA
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#A35375
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23eb6;
/* rgb */ color: rgb(162, 62, 182);
/* oklch */ color: oklch(55.0% 0.196 320.6);
Tailwind
colors: {
  custom: {
    50: '#c17bcc',
    500: '#a23eb6',
    950: '#000000',
  },
}
SCSS
$custom: #a23eb6;
$custom-light: #c17bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eb6",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 290,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.19646,
    "h": 320.6
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#A23EB6
secondary
#94C68A
accent
#D94F66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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