#A123CA#A123CA

#A123CA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.9% C 0.241 H 315.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A123CA
RGBrgb(161, 35, 202)
HSLhsl(285, 70%, 46%)
HSVhsv(285, 83%, 79%)
CMYKcmyk(20.3%, 82.7%, 0%, 20.8%)
CIE-LABlab(42.83, 70.82, -59.77)
CIE-LCHlch(42.83, 92.67, 319.84°)
OKLaboklab(53.92% 0.1725 -0.1688)
OKLCHoklch(53.92% 0.241 315.6)
XYZxyz(25.9579, 13.0444, 57.0161)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123CA #4CCA23
analogous
#4D23CA #A123CA #CA23A0
triadic
#A123CA #CAA123 #23CAA1
tetradic
#A123CA #CA4D23 #4CCA23 #23A0CA
square
#A123CA #CA4D23 #4CCA23 #23A0CA
split-complementary
#A123CA #A0CA23 #23CA4D
monochromatic
#4E1162 #771A96 #A123CA #BB4AE0 #CF7FE9

Accessibility & contrast

On white

5.82
#A123CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A123CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123CA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123CA#FFFFFF#000000##FFFFFF
##A123CA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1B68C7
Tritanopia (blue-blind)
#9E4D79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a123ca;
/* rgb */ color: rgb(161, 35, 202);
/* oklch */ color: oklch(53.9% 0.241 315.6);
Tailwind
colors: {
  custom: {
    50: '#c270db',
    500: '#a123ca',
    950: '#000000',
  },
}
SCSS
$custom: #a123ca;
$custom-light: #c270db;
$custom-dark: #000000;
JSON
{
  "hex": "#a123ca",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 285.269,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.24138,
    "h": 315.6
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#A123CA
secondary
#8ED178
accent
#ED3B66
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A123CA

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

Preview Lab → · Contrast checker → · Palette generator →

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