#AA38CF#AA38CF

#AA38CF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.229 H 316.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA38CF
RGBrgb(170, 56, 207)
HSLhsl(285, 61%, 52%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(17.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(46.82, 66.82, -56.16)
CIE-LCHlch(46.82, 87.28, 319.95°)
OKLaboklab(57.11% 0.166 -0.1581)
OKLCHoklch(57.11% 0.229 316.4)
XYZxyz(29.2525, 15.8806, 60.5438)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38CF #5DCF38
analogous
#5F38CF #AA38CF #CF38A9
triadic
#AA38CF #CFAA38 #38CFAA
tetradic
#AA38CF #CF5F38 #5DCF38 #38A9CF
square
#AA38CF #CF5F38 #5DCF38 #38A9CF
split-complementary
#AA38CF #A9CF38 #38CF5F
monochromatic
#5C1B71 #8427A3 #AA38CF #BF69DB #D49BE7

Accessibility & contrast

On white

5.03
#AA38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AA38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38CF#FFFFFF#000000##FFFFFF
##AA38CF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#A85881
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa38cf;
/* rgb */ color: rgb(170, 56, 207);
/* oklch */ color: oklch(57.1% 0.229 316.4);
Tailwind
colors: {
  custom: {
    50: '#c87ade',
    500: '#aa38cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa38cf;
$custom-light: #c87ade;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38cf",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 285.298,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.2292,
    "h": 316.4
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#AA38CF
secondary
#A0D390
accent
#E4446B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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