#AA7CDC#AA7CDC

#AA7CDC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.0% C 0.145 H 304.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AA7CDC
RGBrgb(170, 124, 220)
HSLhsl(269, 58%, 67%)
HSVhsv(269, 44%, 86%)
CMYKcmyk(22.7%, 43.6%, 0%, 13.7%)
CIE-LABlab(60.00, 36.49, -42.55)
CIE-LCHlch(60.00, 56.05, 310.62°)
OKLaboklab(67% 0.0828 -0.1187)
OKLCHoklch(67% 0.145 304.9)
XYZxyz(36.7008, 28.1288, 71.1922)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CDC #AEDC7C
analogous
#7C7EDC #AA7CDC #DA7CDC
triadic
#AA7CDC #DCAA7C #7CDCAA
tetradic
#AA7CDC #DC7C7E #AEDC7C #7CDCDA
square
#AA7CDC #DC7C7E #AEDC7C #7CDCDA
split-complementary
#AA7CDC #DCDA7C #7EDC7C
monochromatic
#6C2FAF #8B4CCF #AA7CDC #C9ACE9 #E9DDF6

Accessibility & contrast

On white

3.17
#AA7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AA7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CDC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CDC#FFFFFF#000000##000000
##AA7CDC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#A28CA1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7cdc;
/* rgb */ color: rgb(170, 124, 220);
/* oklch */ color: oklch(67.0% 0.145 304.9);
Tailwind
colors: {
  custom: {
    50: '#c5a3e7',
    500: '#aa7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cdc;
$custom-light: #c5a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cdc",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 268.75,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67003,
    "c": 0.14473,
    "h": 304.9
  },
  "luminance": 0.28129
}

Semantic roles & 50–950 ramp

primary
#AA7CDC
secondary
#DBE9CB
accent
#C52076
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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