#A023B2#A023B2

#A023B2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.222 H 322.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A023B2
RGBrgb(160, 35, 178)
HSLhsl(292, 67%, 42%)
HSVhsv(292, 80%, 70%)
CMYKcmyk(10.1%, 80.3%, 0%, 30.2%)
CIE-LABlab(41.04, 66.30, -48.60)
CIE-LCHlch(41.04, 82.21, 323.76°)
OKLaboklab(52.12% 0.1752 -0.1361)
OKLCHoklch(52.12% 0.222 322.2)
XYZxyz(23.1333, 11.8914, 43.1876)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A023B2 #35B223
analogous
#5923B2 #A023B2 #B2237C
triadic
#A023B2 #B2A023 #23B2A0
tetradic
#A023B2 #B25923 #35B223 #237CB2
square
#A023B2 #B25923 #35B223 #237CB2
split-complementary
#A023B2 #7CB223 #23B259
monochromatic
#440F4C #72197F #A023B2 #C43AD8 #D46DE2

Accessibility & contrast

On white

6.22
#A023B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A023B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A023B2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A023B2#FFFFFF#000000##FFFFFF
##A023B21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#A2426C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a023b2;
/* rgb */ color: rgb(160, 35, 178);
/* oklch */ color: oklch(52.1% 0.222 322.2);
Tailwind
colors: {
  custom: {
    50: '#c06eca',
    500: '#a023b2',
    950: '#000000',
  },
}
SCSS
$custom: #a023b2;
$custom-light: #c06eca;
$custom-dark: #000000;
JSON
{
  "hex": "#a023b2",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 292.448,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.22188,
    "h": 322.2
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#A023B2
secondary
#74C968
accent
#EA3E53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A023B2

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

Preview Lab → · Contrast checker → · Palette generator →

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