#A123BC#A123BC

#A123BC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.230 H 319.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A123BC
RGBrgb(161, 35, 188)
HSLhsl(289, 69%, 44%)
HSVhsv(289, 81%, 74%)
CMYKcmyk(14.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(41.86, 68.26, -53.17)
CIE-LCHlch(41.86, 86.52, 322.09°)
OKLaboklab(52.94% 0.175 -0.1495)
OKLCHoklch(52.94% 0.23 319.5)
XYZxyz(24.3749, 12.4112, 48.6789)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123BC #3EBC23
analogous
#5423BC #A123BC #BC238A
triadic
#A123BC #BCA123 #23BCA1
tetradic
#A123BC #BC5423 #3EBC23 #238ABC
square
#A123BC #BC5423 #3EBC23 #238ABC
split-complementary
#A123BC #8ABC23 #23BC54
monochromatic
#491055 #751988 #A123BC #C041DC #D174E5

Accessibility & contrast

On white

6.03
#A123BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A123BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123BC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123BC#FFFFFF#000000##FFFFFF
##A123BC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#A14671
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a123bc;
/* rgb */ color: rgb(161, 35, 188);
/* oklch */ color: oklch(52.9% 0.230 319.5);
Tailwind
colors: {
  custom: {
    50: '#c16fd1',
    500: '#a123bc',
    950: '#000000',
  },
}
SCSS
$custom: #a123bc;
$custom-light: #c16fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a123bc",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 289.412,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.23016,
    "h": 319.5
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#A123BC
secondary
#7FCC6F
accent
#EB3C5B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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