#AA7CCD#AA7CCD

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

Color values

HEX#AA7CCD
RGBrgb(170, 124, 205)
HSLhsl(274, 45%, 65%)
HSVhsv(274, 40%, 80%)
CMYKcmyk(17.1%, 39.5%, 0%, 19.6%)
CIE-LABlab(59.31, 33.07, -35.20)
CIE-LCHlch(59.31, 48.30, 313.22°)
OKLaboklab(66.26% 0.0801 -0.0975)
OKLCHoklch(66.26% 0.126 309.4)
XYZxyz(34.8026, 27.3696, 61.1952)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CCD #9FCD7C
analogous
#827CCD #AA7CCD #CD7CC8
triadic
#AA7CCD #CDAA7C #7CCDAA
tetradic
#AA7CCD #CD827C #9FCD7C #7CC8CD
square
#AA7CCD #CD827C #9FCD7C #7CC8CD
split-complementary
#AA7CCD #C8CD7C #7CCD82
monochromatic
#6E3996 #8D50BC #AA7CCD #C7A8DE #E3D5EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA7CCD#FFFFFF#000000##000000
##AA7CCD1.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)
#6B8DD0
Deuteranopia (green-blind)
#7690CB
Tritanopia (blue-blind)
#A6889B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7ccd;
/* rgb */ color: rgb(170, 124, 205);
/* oklch */ color: oklch(66.3% 0.126 309.4);
Tailwind
colors: {
  custom: {
    50: '#c4a2dc',
    500: '#aa7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ccd;
$custom-light: #c4a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ccd",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 274.074,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.12615,
    "h": 309.4
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#AA7CCD
secondary
#D1E0C4
accent
#B82E69
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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