#A223BC#A223BC

#A223BC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.231 H 319.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A223BC
RGBrgb(162, 35, 188)
HSLhsl(290, 69%, 44%)
HSVhsv(290, 81%, 74%)
CMYKcmyk(13.8%, 81.4%, 0%, 26.3%)
CIE-LABlab(42.02, 68.44, -52.90)
CIE-LCHlch(42.02, 86.50, 322.30°)
OKLaboklab(53.08% 0.1762 -0.1486)
OKLCHoklch(53.08% 0.231 319.8)
XYZxyz(24.5773, 12.5156, 48.6884)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223BC #3DBC23
analogous
#5523BC #A223BC #BC2389
triadic
#A223BC #BCA223 #23BCA2
tetradic
#A223BC #BC5523 #3DBC23 #2389BC
square
#A223BC #BC5523 #3DBC23 #2389BC
split-complementary
#A223BC #89BC23 #23BC55
monochromatic
#491055 #761988 #A223BC #C141DC #D274E5

Accessibility & contrast

On white

6.00
#A223BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A223BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223BC#FFFFFF#000000##FFFFFF
##A223BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a223bc;
/* rgb */ color: rgb(162, 35, 188);
/* oklch */ color: oklch(53.1% 0.231 319.8);
Tailwind
colors: {
  custom: {
    50: '#c26fd1',
    500: '#a223bc',
    950: '#000000',
  },
}
SCSS
$custom: #a223bc;
$custom-light: #c26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a223bc",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 289.804,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.23052,
    "h": 319.8
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#A223BC
secondary
#7ECC6F
accent
#EB3C5A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A223BC

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

Preview Lab → · Contrast checker → · Palette generator →

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