#A123B2#A123B2

#A123B2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.222 H 322.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A123B2
RGBrgb(161, 35, 178)
HSLhsl(293, 67%, 42%)
HSVhsv(293, 80%, 70%)
CMYKcmyk(9.6%, 80.3%, 0%, 30.2%)
CIE-LABlab(41.21, 66.49, -48.32)
CIE-LCHlch(41.21, 82.20, 323.99°)
OKLaboklab(52.27% 0.1764 -0.1353)
OKLCHoklch(52.27% 0.222 322.5)
XYZxyz(23.3340, 11.9949, 43.1970)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123B2 #34B223
analogous
#5A23B2 #A123B2 #B2237C
triadic
#A123B2 #B2A123 #23B2A1
tetradic
#A123B2 #B25A23 #34B223 #237CB2
square
#A123B2 #B25A23 #34B223 #237CB2
split-complementary
#A123B2 #7CB223 #23B25A
monochromatic
#440F4C #73197F #A123B2 #C53AD8 #D46DE2

Accessibility & contrast

On white

6.18
#A123B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A123B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123B2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123B2#FFFFFF#000000##FFFFFF
##A123B21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#A3416C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a123b2;
/* rgb */ color: rgb(161, 35, 178);
/* oklch */ color: oklch(52.3% 0.222 322.5);
Tailwind
colors: {
  custom: {
    50: '#c16fca',
    500: '#a123b2',
    950: '#000000',
  },
}
SCSS
$custom: #a123b2;
$custom-light: #c16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a123b2",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 292.867,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.22227,
    "h": 322.5
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#A123B2
secondary
#74C968
accent
#EA3E52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A123B2

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

Preview Lab → · Contrast checker → · Palette generator →

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