#A229C0#A229C0

#A229C0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 318.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A229C0
RGBrgb(162, 41, 192)
HSLhsl(288, 65%, 46%)
HSVhsv(288, 79%, 75%)
CMYKcmyk(15.6%, 78.6%, 0%, 24.7%)
CIE-LABlab(42.87, 67.47, -53.87)
CIE-LCHlch(42.87, 86.33, 321.39°)
OKLaboklab(53.77% 0.1712 -0.1515)
OKLCHoklch(53.77% 0.229 318.5)
XYZxyz(25.2063, 13.0742, 51.0548)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229C0 #47C029
analogous
#5629C0 #A229C0 #C02993
triadic
#A229C0 #C0A229 #29C0A2
tetradic
#A229C0 #C05629 #47C029 #2993C0
square
#A229C0 #C05629 #47C029 #2993C0
split-complementary
#A229C0 #93C029 #29C056
monochromatic
#4D135B #771E8E #A229C0 #BD4DD9 #D080E4

Accessibility & contrast

On white

5.81
#A229C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A229C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229C0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229C0#FFFFFF#000000##FFFFFF
##A229C01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#A14B75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a229c0;
/* rgb */ color: rgb(162, 41, 192);
/* oklch */ color: oklch(53.8% 0.229 318.5);
Tailwind
colors: {
  custom: {
    50: '#c272d4',
    500: '#a229c0',
    950: '#000000',
  },
}
SCSS
$custom: #a229c0;
$custom-light: #c272d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a229c0",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 192
  },
  "hsl": {
    "h": 288.079,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.22861,
    "h": 318.5
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#A229C0
secondary
#89CC78
accent
#E84061
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A229C0

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

Preview Lab → · Contrast checker → · Palette generator →

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