#A23CA2#A23CA2

#A23CA2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.182 H 327.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A23CA2
RGBrgb(162, 60, 162)
HSLhsl(300, 46%, 44%)
HSVhsv(300, 63%, 64%)
CMYKcmyk(0%, 63%, 0%, 36.5%)
CIE-LABlab(43.54, 55.10, -35.09)
CIE-LCHlch(43.54, 65.33, 327.51°)
OKLaboklab(53.67% 0.1535 -0.0969)
OKLCHoklch(53.67% 0.182 327.7)
XYZxyz(23.0374, 13.5232, 35.5723)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CA2 #3CA23C
analogous
#6F3CA2 #A23CA2 #A23C6F
triadic
#A23CA2 #A2A23C #3CA2A2
tetradic
#A23CA2 #A26F3C #3CA23C #3C6FA2
square
#A23CA2 #A26F3C #3CA23C #3C6FA2
split-complementary
#A23CA2 #6FA23C #3CA26F
monochromatic
#491B49 #752B75 #A23CA2 #C259C2 #D286D2

Accessibility & contrast

On white

5.67
#A23CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A23CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CA2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CA2#FFFFFF#000000##FFFFFF
##A23CA21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#546C9F
Tritanopia (blue-blind)
#A7496A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23ca2;
/* rgb */ color: rgb(162, 60, 162);
/* oklch */ color: oklch(53.7% 0.182 327.7);
Tailwind
colors: {
  custom: {
    50: '#c079be',
    500: '#a23ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a23ca2;
$custom-light: #c079be;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ca2",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.18152,
    "h": 327.7
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#A23CA2
secondary
#7DBC7D
accent
#D65252
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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