#A229B1#A229B1

#A229B1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.216 H 323.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A229B1
RGBrgb(162, 41, 177)
HSLhsl(293, 62%, 43%)
HSVhsv(293, 77%, 69%)
CMYKcmyk(8.5%, 76.8%, 0%, 30.6%)
CIE-LABlab(41.91, 64.77, -46.59)
CIE-LCHlch(41.91, 79.79, 324.27°)
OKLaboklab(52.78% 0.1729 -0.1302)
OKLCHoklch(52.78% 0.216 323)
XYZxyz(23.6283, 12.4430, 42.7436)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229B1 #38B129
analogous
#5E29B1 #A229B1 #B1297C
triadic
#A229B1 #B1A229 #29B1A2
tetradic
#A229B1 #B15E29 #38B129 #297CB1
square
#A229B1 #B15E29 #38B129 #297CB1
split-complementary
#A229B1 #7CB129 #29B15E
monochromatic
#47124E #751D7F #A229B1 #C444D4 #D375DF

Accessibility & contrast

On white

6.02
#A229B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A229B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229B1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229B1#FFFFFF#000000##FFFFFF
##A229B11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#A4446C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a229b1;
/* rgb */ color: rgb(162, 41, 177);
/* oklch */ color: oklch(52.8% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#c271c9',
    500: '#a229b1',
    950: '#000000',
  },
}
SCSS
$custom: #a229b1;
$custom-light: #c271c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a229b1",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 293.382,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.21644,
    "h": 323
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#A229B1
secondary
#79C76F
accent
#E54254
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A229B1

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

Preview Lab → · Contrast checker → · Palette generator →

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