#A23AE5#A23AE5

#A23AE5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.8% C 0.244 H 308.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A23AE5
RGBrgb(162, 58, 229)
HSLhsl(276, 77%, 56%)
HSVhsv(276, 75%, 90%)
CMYKcmyk(29.3%, 74.7%, 0%, 10.2%)
CIE-LABlab(47.45, 69.02, -67.75)
CIE-LCHlch(47.45, 96.72, 315.53°)
OKLaboklab(57.8% 0.1507 -0.1924)
OKLCHoklch(57.8% 0.244 308.1)
XYZxyz(30.5532, 16.3651, 75.6628)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AE5 #7DE53A
analogous
#4D3AE5 #A23AE5 #E53AD3
triadic
#A23AE5 #E5A23A #3AE5A2
tetradic
#A23AE5 #E54D3A #7DE53A #3AD3E5
square
#A23AE5 #E54D3A #7DE53A #3AD3E5
split-complementary
#A23AE5 #D3E53A #3AE54D
monochromatic
#601391 #841AC7 #A23AE5 #BC70EC #D5A6F3

Accessibility & contrast

On white

4.91
#A23AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A23AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AE5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AE5#FFFFFF#000000##FFFFFF
##A23AE51.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#97648E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23ae5;
/* rgb */ color: rgb(162, 58, 229);
/* oklch */ color: oklch(57.8% 0.244 308.1);
Tailwind
colors: {
  custom: {
    50: '#c37aee',
    500: '#a23ae5',
    950: '#000000',
  },
}
SCSS
$custom: #a23ae5;
$custom-light: #c37aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ae5",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 229
  },
  "hsl": {
    "h": 276.491,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.2444,
    "h": 308.1
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#A23AE5
secondary
#B6E19A
accent
#F3357F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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