#AA7FCB#AA7FCB

#AA7FCB is a light, moderate violet. Relative luminance 0.280; OKLCH L 66.7% C 0.118 H 309.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AA7FCB
RGBrgb(170, 127, 203)
HSLhsl(274, 42%, 65%)
HSVhsv(274, 37%, 80%)
CMYKcmyk(16.3%, 37.4%, 0%, 20.4%)
CIE-LABlab(59.92, 30.94, -33.12)
CIE-LCHlch(59.92, 45.33, 313.05°)
OKLaboklab(66.69% 0.0753 -0.0915)
OKLCHoklch(66.69% 0.119 309.4)
XYZxyz(34.9445, 28.0370, 60.0591)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FCB #A0CB7F
analogous
#847FCB #AA7FCB #CB7FC6
triadic
#AA7FCB #CBAA7F #7FCBAA
tetradic
#AA7FCB #CB847F #A0CB7F #7FC6CB
square
#AA7FCB #CB847F #A0CB7F #7FC6CB
split-complementary
#AA7FCB #C6CB7F #7FCB84
monochromatic
#6E3C94 #8D53B9 #AA7FCB #C7ABDD #E4D6EE

Accessibility & contrast

On white

3.18
#AA7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AA7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FCB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FCB#FFFFFF#000000##000000
##AA7FCB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#A68A9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7fcb;
/* rgb */ color: rgb(170, 127, 203);
/* oklch */ color: oklch(66.7% 0.118 309.4);
Tailwind
colors: {
  custom: {
    50: '#c4a4db',
    500: '#aa7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fcb;
$custom-light: #c4a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fcb",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 273.947,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66688,
    "c": 0.1185,
    "h": 309.4
  },
  "luminance": 0.28037
}

Semantic roles & 50–950 ramp

primary
#AA7FCB
secondary
#D1E0C6
accent
#B5306A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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