#AE87F2#AE87F2

#AE87F2 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.156 H 299.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AE87F2
RGBrgb(174, 135, 242)
HSLhsl(262, 80%, 74%)
HSVhsv(262, 44%, 95%)
CMYKcmyk(28.1%, 44.2%, 0%, 5.1%)
CIE-LABlab(63.95, 36.67, -48.52)
CIE-LCHlch(63.95, 60.81, 307.08°)
OKLaboklab(70.41% 0.0759 -0.136)
OKLCHoklch(70.41% 0.156 299.2)
XYZxyz(42.1428, 32.7371, 88.0858)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F2 #CBF287
analogous
#8796F2 #AE87F2 #E487F2
triadic
#AE87F2 #F2AE87 #87F2AE
tetradic
#AE87F2 #F28796 #CBF287 #87F2E4
square
#AE87F2 #F28796 #CBF287 #87F2E4
split-complementary
#AE87F2 #F2E487 #96F287
monochromatic
#6419E6 #8950EC #AE87F2 #D3BEF8 #ECE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE87F2#FFFFFF#000000##000000
##AE87F21.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)
#689BF6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#A19AB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f2;
/* rgb */ color: rgb(174, 135, 242);
/* oklch */ color: oklch(70.4% 0.156 299.2);
Tailwind
colors: {
  custom: {
    50: '#c8aaf7',
    500: '#ae87f2',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f2;
$custom-light: #c8aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f2",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 261.869,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70405,
    "c": 0.15574,
    "h": 299.2
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#AE87F2
secondary
#E9F4D7
accent
#DD098F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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