#AA46CB#AA46CB

#AA46CB is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.209 H 316.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA46CB
RGBrgb(170, 70, 203)
HSLhsl(285, 56%, 54%)
HSVhsv(285, 66%, 80%)
CMYKcmyk(16.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(48.56, 60.43, -51.06)
CIE-LCHlch(48.56, 79.11, 319.81°)
OKLaboklab(58.28% 0.1518 -0.1432)
OKLCHoklch(58.28% 0.209 316.7)
XYZxyz(29.5456, 17.2393, 58.2595)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA46CB #67CB46
analogous
#6746CB #AA46CB #CB46A9
triadic
#AA46CB #CBAA46 #46CBAA
tetradic
#AA46CB #CB6746 #67CB46 #46A9CB
square
#AA46CB #CB6746 #67CB46 #46A9CB
split-complementary
#AA46CB #A9CB46 #46CB67
monochromatic
#612176 #882EA5 #AA46CB #C076D8 #D6A6E6

Accessibility & contrast

On white

4.72
#AA46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AA46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA46CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA46CB#FFFFFF#000000##FFFFFF
##AA46CB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#A85F83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa46cb;
/* rgb */ color: rgb(170, 70, 203);
/* oklch */ color: oklch(58.3% 0.209 316.7);
Tailwind
colors: {
  custom: {
    50: '#c780db',
    500: '#aa46cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa46cb;
$custom-light: #c780db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa46cb",
  "rgb": {
    "r": 170,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 285.113,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.20872,
    "h": 316.7
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#AA46CB
secondary
#A8D39A
accent
#DF486E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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