#AA8ECF#AA8ECF

#AA8ECF is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.6% C 0.098 H 303.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AA8ECF
RGBrgb(170, 142, 207)
HSLhsl(266, 40%, 68%)
HSVhsv(266, 31%, 81%)
CMYKcmyk(17.9%, 31.4%, 0%, 18.8%)
CIE-LABlab(63.67, 23.35, -29.56)
CIE-LCHlch(63.67, 37.67, 308.31°)
OKLaboklab(69.6% 0.0543 -0.0814)
OKLCHoklch(69.6% 0.098 303.7)
XYZxyz(37.5108, 32.3971, 63.2965)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8ECF #B3CF8E
analogous
#8E92CF #AA8ECF #CA8ECF
triadic
#AA8ECF #CFAA8E #8ECFAA
tetradic
#AA8ECF #CF8E92 #B3CF8E #8ECFCA
square
#AA8ECF #CF8E92 #B3CF8E #8ECFCA
split-complementary
#AA8ECF #CFCA8E #92CF8E
monochromatic
#6B449F #8A63BD #AA8ECF #CAB9E1 #EBE4F3

Accessibility & contrast

On white

2.81
#AA8ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AA8ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8ECF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8ECF#FFFFFF#000000##000000
##AA8ECF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D2
Deuteranopia (green-blind)
#869ACD
Tritanopia (blue-blind)
#A498A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8ecf;
/* rgb */ color: rgb(170, 142, 207);
/* oklch */ color: oklch(69.6% 0.098 303.7);
Tailwind
colors: {
  custom: {
    50: '#c4afde',
    500: '#aa8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ecf;
$custom-light: #c4afde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ecf",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 265.846,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69596,
    "c": 0.09785,
    "h": 303.7
  },
  "luminance": 0.32397
}

Semantic roles & 50–950 ramp

primary
#AA8ECF
secondary
#DEE6D3
accent
#B3327C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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