#AA38CA#AA38CA

#AA38CA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.225 H 317.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AA38CA
RGBrgb(170, 56, 202)
HSLhsl(287, 58%, 51%)
HSVhsv(287, 72%, 79%)
CMYKcmyk(15.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(46.50, 65.86, -53.79)
CIE-LCHlch(46.50, 85.03, 320.76°)
OKLaboklab(56.78% 0.1665 -0.1511)
OKLCHoklch(56.78% 0.225 317.8)
XYZxyz(28.6509, 15.6399, 57.3753)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38CA #58CA38
analogous
#6138CA #AA38CA #CA38A1
triadic
#AA38CA #CAAA38 #38CAAA
tetradic
#AA38CA #CA6138 #58CA38 #38A1CA
square
#AA38CA #CA6138 #58CA38 #38A1CA
split-complementary
#AA38CA #A1CA38 #38CA61
monochromatic
#5A1D6B #82299B #AA38CA #BF68D7 #D399E4

Accessibility & contrast

On white

5.09
#AA38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AA38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38CA#FFFFFF#000000##FFFFFF
##AA38CA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#A9567E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa38ca;
/* rgb */ color: rgb(170, 56, 202);
/* oklch */ color: oklch(56.8% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#c779db',
    500: '#aa38ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ca;
$custom-light: #c779db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ca",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 286.849,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.22485,
    "h": 317.8
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#AA38CA
secondary
#9DCF8E
accent
#E14769
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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