#AE8CD9#AE8CD9

#AE8CD9 is a light, moderate violet. Relative luminance 0.328; OKLCH L 70.0% C 0.115 H 303.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AE8CD9
RGBrgb(174, 140, 217)
HSLhsl(266, 50%, 70%)
HSVhsv(266, 35%, 85%)
CMYKcmyk(19.8%, 35.5%, 0%, 14.9%)
CIE-LABlab(63.97, 27.97, -34.64)
CIE-LCHlch(63.97, 44.52, 308.92°)
OKLaboklab(70.05% 0.0643 -0.0958)
OKLCHoklch(70.05% 0.115 303.9)
XYZxyz(39.3555, 32.7647, 69.8831)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CD9 #B7D98C
analogous
#8C90D9 #AE8CD9 #D58CD9
triadic
#AE8CD9 #D9AE8C #8CD9AE
tetradic
#AE8CD9 #D98C90 #B7D98C #8CD9D5
square
#AE8CD9 #D98C90 #B7D98C #8CD9D5
split-complementary
#AE8CD9 #D9D58C #90D98C
monochromatic
#6E3AB0 #8E5ECA #AE8CD9 #CEBAE8 #EFE8F7

Accessibility & contrast

On white

2.78
#AE8CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AE8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CD9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CD9#FFFFFF#000000##000000
##AE8CD91.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADC
Deuteranopia (green-blind)
#829BD7
Tritanopia (blue-blind)
#A798A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae8cd9;
/* rgb */ color: rgb(174, 140, 217);
/* oklch */ color: oklch(70.0% 0.115 303.9);
Tailwind
colors: {
  custom: {
    50: '#c7aee5',
    500: '#ae8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cd9;
$custom-light: #c7aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cd9",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 266.494,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.70048,
    "c": 0.11543,
    "h": 303.9
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#AE8CD9
secondary
#E2EBD6
accent
#BE287C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #AE8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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