#A223B1#A223B1

#A223B1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.222 H 323.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A223B1
RGBrgb(162, 35, 177)
HSLhsl(294, 67%, 42%)
HSVhsv(294, 80%, 69%)
CMYKcmyk(8.5%, 80.2%, 0%, 30.6%)
CIE-LABlab(41.31, 66.51, -47.56)
CIE-LCHlch(41.31, 81.76, 324.43°)
OKLaboklab(52.35% 0.1776 -0.133)
OKLCHoklch(52.35% 0.222 323.2)
XYZxyz(23.4364, 12.0592, 42.6797)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223B1 #32B123
analogous
#5B23B1 #A223B1 #B12379
triadic
#A223B1 #B1A223 #23B1A2
tetradic
#A223B1 #B15B23 #32B123 #2379B1
square
#A223B1 #B15B23 #32B123 #2379B1
split-complementary
#A223B1 #79B123 #23B15B
monochromatic
#440F4B #73197E #A223B1 #C739D8 #D66CE2

Accessibility & contrast

On white

6.16
#A223B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A223B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223B1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223B1#FFFFFF#000000##FFFFFF
##A223B11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#A4416B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a223b1;
/* rgb */ color: rgb(162, 35, 177);
/* oklch */ color: oklch(52.4% 0.222 323.2);
Tailwind
colors: {
  custom: {
    50: '#c26fc9',
    500: '#a223b1',
    950: '#000000',
  },
}
SCSS
$custom: #a223b1;
$custom-light: #c26fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a223b1",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 293.662,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.22189,
    "h": 323.2
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#A223B1
secondary
#72C868
accent
#EA3E50
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A223B1

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

Preview Lab → · Contrast checker → · Palette generator →

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