#A023A7#A023A7

#A023A7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.213 H 325.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A023A7
RGBrgb(160, 35, 167)
HSLhsl(297, 65%, 40%)
HSVhsv(297, 79%, 65%)
CMYKcmyk(4.2%, 79%, 0%, 34.5%)
CIE-LABlab(40.36, 64.42, -43.15)
CIE-LCHlch(40.36, 77.54, 326.18°)
OKLaboklab(51.42% 0.1762 -0.1202)
OKLCHoklch(51.42% 0.213 325.7)
XYZxyz(22.0728, 11.4672, 37.6025)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A023A7 #2AA723
analogous
#5E23A7 #A023A7 #A7236C
triadic
#A023A7 #A7A023 #23A7A0
tetradic
#A023A7 #A75E23 #2AA723 #236CA7
square
#A023A7 #A75E23 #2AA723 #236CA7
split-complementary
#A023A7 #6CA723 #23A75E
monochromatic
#3F0E42 #701874 #A023A7 #CC33D4 #D866DF

Accessibility & contrast

On white

6.38
#A023A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A023A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A023A7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A023A7#FFFFFF#000000##FFFFFF
##A023A71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#4364A4
Tritanopia (blue-blind)
#A43C65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a023a7;
/* rgb */ color: rgb(160, 35, 167);
/* oklch */ color: oklch(51.4% 0.213 325.7);
Tailwind
colors: {
  custom: {
    50: '#c06ec2',
    500: '#a023a7',
    950: '#000000',
  },
}
SCSS
$custom: #a023a7;
$custom-light: #c06ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a023a7",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 296.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.21332,
    "h": 325.7
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#A023A7
secondary
#67C461
accent
#E83F48
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A023A7

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

Preview Lab → · Contrast checker → · Palette generator →

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