#AA8ECB#AA8ECB

#AA8ECB is a light, moderate violet. Relative luminance 0.322; OKLCH L 69.4% C 0.093 H 305.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AA8ECB
RGBrgb(170, 142, 203)
HSLhsl(268, 37%, 68%)
HSVhsv(268, 30%, 80%)
CMYKcmyk(16.3%, 30%, 0%, 20.4%)
CIE-LABlab(63.51, 22.45, -27.56)
CIE-LCHlch(63.51, 35.55, 309.17°)
OKLaboklab(69.42% 0.0532 -0.0757)
OKLCHoklch(69.42% 0.093 305.1)
XYZxyz(37.0279, 32.2040, 60.7536)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8ECB #AFCB8E
analogous
#8E90CB #AA8ECB #C98ECB
triadic
#AA8ECB #CBAA8E #8ECBAA
tetradic
#AA8ECB #CB8E90 #AFCB8E #8ECBC9
square
#AA8ECB #CB8E90 #AFCB8E #8ECBC9
split-complementary
#AA8ECB #CBC98E #90CB8E
monochromatic
#6C4698 #8A64B8 #AA8ECB #CAB8DE #E9E2F2

Accessibility & contrast

On white

2.82
#AA8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AA8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8ECB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8ECB#FFFFFF#000000##000000
##AA8ECB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CD
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#A597A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8ecb;
/* rgb */ color: rgb(170, 142, 203);
/* oklch */ color: oklch(69.4% 0.093 305.1);
Tailwind
colors: {
  custom: {
    50: '#c4afdb',
    500: '#aa8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ecb;
$custom-light: #c4afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ecb",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 267.541,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.09257,
    "h": 305.1
  },
  "luminance": 0.32204
}

Semantic roles & 50–950 ramp

primary
#AA8ECB
secondary
#DBE4D1
accent
#B03678
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #AA8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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