#AA7FDC#AA7FDC

#AA7FDC is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.5% C 0.140 H 304.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AA7FDC
RGBrgb(170, 127, 220)
HSLhsl(268, 57%, 68%)
HSVhsv(268, 42%, 86%)
CMYKcmyk(22.7%, 42.3%, 0%, 13.7%)
CIE-LABlab(60.69, 34.81, -41.47)
CIE-LCHlch(60.69, 54.15, 310.01°)
OKLaboklab(67.52% 0.0786 -0.1156)
OKLCHoklch(67.52% 0.14 304.2)
XYZxyz(37.0825, 28.8922, 71.3194)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FDC #B1DC7F
analogous
#7F82DC #AA7FDC #D87FDC
triadic
#AA7FDC #DCAA7F #7FDCAA
tetradic
#AA7FDC #DC7F82 #B1DC7F #7FDCD8
square
#AA7FDC #DC7F82 #B1DC7F #7FDCD8
split-complementary
#AA7FDC #DCD87F #82DC7F
monochromatic
#6B30B0 #8A4FCF #AA7FDC #CAAFE9 #EADFF6

Accessibility & contrast

On white

3.10
#AA7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AA7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FDC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FDC#FFFFFF#000000##000000
##AA7FDC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#7292DA
Tritanopia (blue-blind)
#A28EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7fdc;
/* rgb */ color: rgb(170, 127, 220);
/* oklch */ color: oklch(67.5% 0.140 304.2);
Tailwind
colors: {
  custom: {
    50: '#c5a5e7',
    500: '#aa7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fdc;
$custom-light: #c5a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fdc",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 267.742,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67516,
    "c": 0.1398,
    "h": 304.2
  },
  "luminance": 0.28892
}

Semantic roles & 50–950 ramp

primary
#AA7FDC
secondary
#DCEACD
accent
#C52179
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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