#A23CAF#A23CAF

#A23CAF is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.193 H 323.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A23CAF
RGBrgb(162, 60, 175)
HSLhsl(293, 49%, 46%)
HSVhsv(293, 66%, 69%)
CMYKcmyk(7.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(44.25, 57.45, -41.69)
CIE-LCHlch(44.25, 70.98, 324.04°)
OKLaboklab(54.41% 0.154 -0.116)
OKLCHoklch(54.41% 0.193 323)
XYZxyz(24.2533, 14.0096, 41.9758)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CAF #49AF3C
analogous
#683CAF #A23CAF #AF3C82
triadic
#A23CAF #AFA23C #3CAFA2
tetradic
#A23CAF #AF683C #49AF3C #3C82AF
square
#A23CAF #AF683C #49AF3C #3C82AF
split-complementary
#A23CAF #82AF3C #3CAF68
monochromatic
#4E1D54 #782C81 #A23CAF #BD60C8 #D08DD8

Accessibility & contrast

On white

5.52
#A23CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A23CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CAF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CAF#FFFFFF#000000##FFFFFF
##A23CAF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#A44E70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23caf;
/* rgb */ color: rgb(162, 60, 175);
/* oklch */ color: oklch(54.4% 0.193 323.0);
Tailwind
colors: {
  custom: {
    50: '#c179c7',
    500: '#a23caf',
    950: '#000000',
  },
}
SCSS
$custom: #a23caf;
$custom-light: #c179c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23caf",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 293.217,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.19283,
    "h": 323
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#A23CAF
secondary
#8BC384
accent
#D84F5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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