#A223BD#A223BD

#A223BD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.231 H 319.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A223BD
RGBrgb(162, 35, 189)
HSLhsl(289, 69%, 44%)
HSVhsv(289, 81%, 74%)
CMYKcmyk(14.3%, 81.5%, 0%, 25.9%)
CIE-LABlab(42.09, 68.62, -53.38)
CIE-LCHlch(42.09, 86.93, 322.12°)
OKLaboklab(53.15% 0.1761 -0.15)
OKLCHoklch(53.15% 0.231 319.6)
XYZxyz(24.6854, 12.5589, 49.2581)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223BD #3EBD23
analogous
#5523BD #A223BD #BD238B
triadic
#A223BD #BDA223 #23BDA2
tetradic
#A223BD #BD5523 #3EBD23 #238BBD
square
#A223BD #BD5523 #3EBD23 #238BBD
split-complementary
#A223BD #8BBD23 #23BD55
monochromatic
#491056 #761989 #A223BD #C141DC #D275E5

Accessibility & contrast

On white

5.98
#A223BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A223BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223BD#FFFFFF#000000##FFFFFF
##A223BD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#A24772
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a223bd;
/* rgb */ color: rgb(162, 35, 189);
/* oklch */ color: oklch(53.2% 0.231 319.6);
Tailwind
colors: {
  custom: {
    50: '#c26fd2',
    500: '#a223bd',
    950: '#000000',
  },
}
SCSS
$custom: #a223bd;
$custom-light: #c26fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a223bd",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 289.481,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.23132,
    "h": 319.6
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#A223BD
secondary
#80CD6F
accent
#EC3C5B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A223BD

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

Preview Lab → · Contrast checker → · Palette generator →

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