#AA7BD2#AA7BD2

#AA7BD2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.134 H 308.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AA7BD2
RGBrgb(170, 123, 210)
HSLhsl(272, 49%, 65%)
HSVhsv(272, 41%, 82%)
CMYKcmyk(19%, 41.4%, 0%, 17.6%)
CIE-LABlab(59.31, 34.76, -38.02)
CIE-LCHlch(59.31, 51.51, 312.43°)
OKLaboklab(66.33% 0.0825 -0.1056)
OKLCHoklch(66.33% 0.134 308)
XYZxyz(35.2911, 27.3655, 64.3832)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BD2 #A3D27B
analogous
#7E7BD2 #AA7BD2 #D27BCE
triadic
#AA7BD2 #D2AA7B #7BD2AA
tetradic
#AA7BD2 #D27E7B #A3D27B #7BCED2
square
#AA7BD2 #D27E7B #A3D27B #7BCED2
split-complementary
#AA7BD2 #CED27B #7BD27E
monochromatic
#6D369D #8D4DC2 #AA7BD2 #C7A9E2 #E5D6F1

Accessibility & contrast

On white

3.24
#AA7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AA7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BD2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BD2#FFFFFF#000000##000000
##AA7BD21.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#738FD0
Tritanopia (blue-blind)
#A5889C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7bd2;
/* rgb */ color: rgb(170, 123, 210);
/* oklch */ color: oklch(66.3% 0.134 308.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2e0',
    500: '#aa7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bd2;
$custom-light: #c5a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bd2",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 272.414,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.134,
    "h": 308
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#AA7BD2
secondary
#D3E3C6
accent
#BC296D
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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