#AA5BDA#AA5BDA

#AA5BDA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.8% C 0.194 H 310.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA5BDA
RGBrgb(170, 91, 218)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 58%, 85%)
CMYKcmyk(22%, 58.3%, 0%, 14.5%)
CIE-LABlab(53.05, 53.70, -52.45)
CIE-LCHlch(53.05, 75.06, 315.67°)
OKLaboklab(61.81% 0.1266 -0.1474)
OKLCHoklch(61.81% 0.194 310.7)
XYZxyz(32.9712, 21.0909, 68.6501)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BDA #8BDA5B
analogous
#6A5BDA #AA5BDA #DA5BCA
triadic
#AA5BDA #DAAA5B #5BDAAA
tetradic
#AA5BDA #DA6A5B #8BDA5B #5BCADA
square
#AA5BDA #DA6A5B #8BDA5B #5BCADA
split-complementary
#AA5BDA #CADA5B #5BDA6A
monochromatic
#6C2298 #8F2ECA #AA5BDA #C48DE5 #DEBFF1

Accessibility & contrast

On white

4.02
#AA5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BDA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BDA#FFFFFF#000000##000000
##AA5BDA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#A47292
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5bda;
/* rgb */ color: rgb(170, 91, 218);
/* oklch */ color: oklch(61.8% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#c68de6',
    500: '#aa5bda',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bda;
$custom-light: #c68de6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bda",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 277.323,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.19433,
    "h": 310.7
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#AA5BDA
secondary
#C3E1B0
accent
#CB1B5D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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