#A23ACA#A23ACA

#A23ACA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.220 H 314.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A23ACA
RGBrgb(162, 58, 202)
HSLhsl(283, 58%, 51%)
HSVhsv(283, 71%, 79%)
CMYKcmyk(19.8%, 71.3%, 0%, 20.8%)
CIE-LABlab(45.60, 63.47, -55.30)
CIE-LCHlch(45.60, 84.18, 318.94°)
OKLaboklab(55.9% 0.1548 -0.1558)
OKLCHoklch(55.9% 0.22 314.8)
XYZxyz(27.0723, 14.9727, 57.3296)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ACA #62CA3A
analogous
#5A3ACA #A23ACA #CA3AAA
triadic
#A23ACA #CAA23A #3ACAA2
tetradic
#A23ACA #CA5A3A #62CA3A #3AAACA
square
#A23ACA #CA5A3A #62CA3A #3AAACA
split-complementary
#A23ACA #AACA3A #3ACA5A
monochromatic
#561D6C #7D2A9D #A23ACA #B96AD7 #D09AE4

Accessibility & contrast

On white

5.26
#A23ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A23ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ACA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ACA#FFFFFF#000000##FFFFFF
##A23ACA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#9F587F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23aca;
/* rgb */ color: rgb(162, 58, 202);
/* oklch */ color: oklch(55.9% 0.220 314.8);
Tailwind
colors: {
  custom: {
    50: '#c279db',
    500: '#a23aca',
    950: '#000000',
  },
}
SCSS
$custom: #a23aca;
$custom-light: #c279db;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aca",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 283.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.21964,
    "h": 314.8
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#A23ACA
secondary
#A2D090
accent
#E14772
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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