#AE6CEB#AE6CEB

#AE6CEB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.189 H 305.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AE6CEB
RGBrgb(174, 108, 235)
HSLhsl(271, 76%, 67%)
HSVhsv(271, 54%, 92%)
CMYKcmyk(26%, 54%, 0%, 7.8%)
CIE-LABlab(57.77, 49.74, -54.44)
CIE-LCHlch(57.77, 73.74, 312.42°)
OKLaboklab(65.69% 0.1107 -0.1532)
OKLCHoklch(65.69% 0.189 305.8)
XYZxyz(37.8104, 25.7222, 81.5541)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE6CEB #A9EB6C
analogous
#6F6CEB #AE6CEB #EB6CE9
triadic
#AE6CEB #EBAE6C #6CEBAE
tetradic
#AE6CEB #EB6F6C #A9EB6C #6CE9EB
square
#AE6CEB #EB6F6C #A9EB6C #6CE9EB
split-complementary
#AE6CEB #E9EB6C #6CEB6F
monochromatic
#721AC2 #9036E4 #AE6CEB #CCA2F2 #E9D8FA

Accessibility & contrast

On white

3.42
#AE6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AE6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE6CEB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE6CEB#FFFFFF#000000##000000
##AE6CEB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#A484A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ae6ceb;
/* rgb */ color: rgb(174, 108, 235);
/* oklch */ color: oklch(65.7% 0.189 305.8);
Tailwind
colors: {
  custom: {
    50: '#c998f2',
    500: '#ae6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ae6ceb;
$custom-light: #c998f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae6ceb",
  "rgb": {
    "r": 174,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 271.181,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65688,
    "c": 0.18898,
    "h": 305.8
  },
  "luminance": 0.25722
}

Semantic roles & 50–950 ramp

primary
#AE6CEB
secondary
#D9EDC5
accent
#D80D6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AE6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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