#AA5FCB#AA5FCB

#AA5FCB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.172 H 314.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA5FCB
RGBrgb(170, 95, 203)
HSLhsl(282, 51%, 58%)
HSVhsv(282, 53%, 80%)
CMYKcmyk(16.3%, 53.2%, 0%, 20.4%)
CIE-LABlab(53.00, 48.42, -43.99)
CIE-LCHlch(53.00, 65.42, 317.74°)
OKLaboklab(61.51% 0.1207 -0.1228)
OKLCHoklch(61.51% 0.172 314.5)
XYZxyz(31.4475, 21.0432, 58.8935)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FCB #80CB5F
analogous
#745FCB #AA5FCB #CB5FB6
triadic
#AA5FCB #CBAA5F #5FCBAA
tetradic
#AA5FCB #CB745F #80CB5F #5FB6CB
square
#AA5FCB #CB745F #80CB5F #5FB6CB
split-complementary
#AA5FCB #B6CB5F #5FCB74
monochromatic
#692B85 #8E3AB3 #AA5FCB #C38DDA #DBBBE9

Accessibility & contrast

On white

4.03
#AA5FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA5FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FCB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FCB#FFFFFF#000000##000000
##AA5FCB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#5D81C8
Tritanopia (blue-blind)
#A8708C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5fcb;
/* rgb */ color: rgb(170, 95, 203);
/* oklch */ color: oklch(61.5% 0.172 314.5);
Tailwind
colors: {
  custom: {
    50: '#c68fdb',
    500: '#aa5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fcb;
$custom-light: #c68fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fcb",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 281.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.17216,
    "h": 314.5
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#AA5FCB
secondary
#BBD8AD
accent
#DA4D78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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