#AA38BC#AA38BC

#AA38BC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.213 H 321.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA38BC
RGBrgb(170, 56, 188)
HSLhsl(292, 54%, 48%)
HSVhsv(292, 70%, 74%)
CMYKcmyk(9.6%, 70.2%, 0%, 26.3%)
CIE-LABlab(45.64, 63.26, -47.02)
CIE-LCHlch(45.64, 78.82, 323.37°)
OKLaboklab(55.9% 0.1674 -0.1313)
OKLCHoklch(55.9% 0.213 321.9)
XYZxyz(27.0679, 15.0067, 49.0380)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BC #4ABC38
analogous
#6838BC #AA38BC #BC388C
triadic
#AA38BC #BCAA38 #38BCAA
tetradic
#AA38BC #BC6838 #4ABC38 #388CBC
square
#AA38BC #BC6838 #4ABC38 #388CBC
split-complementary
#AA38BC #8CBC38 #38BC68
monochromatic
#551C5E #7F2A8D #AA38BC #C161D0 #D390DE

Accessibility & contrast

On white

5.25
#AA38BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AA38BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BC#FFFFFF#000000##FFFFFF
##AA38BC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#AC5076
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38bc;
/* rgb */ color: rgb(170, 56, 188);
/* oklch */ color: oklch(55.9% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#c779d1',
    500: '#aa38bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa38bc;
$custom-light: #c779d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38bc",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 291.818,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.2128,
    "h": 321.9
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#AA38BC
secondary
#90C987
accent
#DD4A5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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