#AE6AFC#AE6AFC

#AE6AFC is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.4% C 0.211 H 302.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AE6AFC
RGBrgb(174, 106, 252)
HSLhsl(268, 96%, 70%)
HSVhsv(268, 58%, 99%)
CMYKcmyk(31%, 57.9%, 0%, 1.2%)
CIE-LABlab(58.35, 54.75, -62.94)
CIE-LCHlch(58.35, 83.43, 311.02°)
OKLaboklab(66.43% 0.1134 -0.1781)
OKLCHoklch(66.43% 0.211 302.5)
XYZxyz(40.1762, 26.3350, 95.0431)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE6AFC #B8FC6A
analogous
#6A6FFC #AE6AFC #F76AFC
triadic
#AE6AFC #FCAE6A #6AFCAE
tetradic
#AE6AFC #FC6A6F #B8FC6A #6AFCF7
square
#AE6AFC #FC6A6F #B8FC6A #6AFCF7
split-complementary
#AE6AFC #FCF76A #6FFC6A
monochromatic
#6E05E7 #8D2EFB #AE6AFC #CFA6FD #EFE1FE

Accessibility & contrast

On white

3.35
#AE6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AE6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE6AFC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE6AFC#FFFFFF#000000##000000
##AE6AFC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#9F88A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ae6afc;
/* rgb */ color: rgb(174, 106, 252);
/* oklch */ color: oklch(66.4% 0.211 302.5);
Tailwind
colors: {
  custom: {
    50: '#ca97fe',
    500: '#ae6afc',
    950: '#000000',
  },
}
SCSS
$custom: #ae6afc;
$custom-light: #ca97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae6afc",
  "rgb": {
    "r": 174,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 267.945,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.21118,
    "h": 302.5
  },
  "luminance": 0.26335
}

Semantic roles & 50–950 ramp

primary
#AE6AFC
secondary
#E2F5CD
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AE6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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