#A023B1#A023B1

#A023B1 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.1% C 0.221 H 322.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A023B1
RGBrgb(160, 35, 177)
HSLhsl(293, 67%, 42%)
HSVhsv(293, 80%, 69%)
CMYKcmyk(9.6%, 80.2%, 0%, 30.6%)
CIE-LABlab(40.98, 66.13, -48.11)
CIE-LCHlch(40.98, 81.78, 323.96°)
OKLaboklab(52.05% 0.1754 -0.1347)
OKLCHoklch(52.05% 0.221 322.5)
XYZxyz(23.0332, 11.8514, 42.6608)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A023B1 #34B123
analogous
#5923B1 #A023B1 #B1237B
triadic
#A023B1 #B1A023 #23B1A0
tetradic
#A023B1 #B15923 #34B123 #237BB1
square
#A023B1 #B15923 #34B123 #237BB1
split-complementary
#A023B1 #7BB123 #23B159
monochromatic
#440F4B #72197E #A023B1 #C539D8 #D46CE2

Accessibility & contrast

On white

6.23
#A023B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A023B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A023B1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A023B1#FFFFFF#000000##FFFFFF
##A023B11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a023b1;
/* rgb */ color: rgb(160, 35, 177);
/* oklch */ color: oklch(52.1% 0.221 322.5);
Tailwind
colors: {
  custom: {
    50: '#c06ec9',
    500: '#a023b1',
    950: '#000000',
  },
}
SCSS
$custom: #a023b1;
$custom-light: #c06ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a023b1",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 292.817,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.2211,
    "h": 322.5
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#A023B1
secondary
#73C868
accent
#EA3E53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A023B1

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

Preview Lab → · Contrast checker → · Palette generator →

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