#AE7BEF#AE7BEF

#AE7BEF is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.171 H 302.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AE7BEF
RGBrgb(174, 123, 239)
HSLhsl(266, 78%, 71%)
HSVhsv(266, 49%, 94%)
CMYKcmyk(27.2%, 48.5%, 0%, 6.3%)
CIE-LABlab(61.13, 42.60, -51.32)
CIE-LCHlch(61.13, 66.69, 309.69°)
OKLaboklab(68.25% 0.0915 -0.1441)
OKLCHoklch(68.25% 0.171 302.4)
XYZxyz(40.1150, 29.3966, 85.2054)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BEF #BCEF7B
analogous
#7B82EF #AE7BEF #E87BEF
triadic
#AE7BEF #EFAE7B #7BEFAE
tetradic
#AE7BEF #EF7B82 #BCEF7B #7BEFE8
square
#AE7BEF #EF7B82 #BCEF7B #7BEFE8
split-complementary
#AE7BEF #EFE87B #82EF7B
monochromatic
#6C1AD6 #8D44E8 #AE7BEF #CFB2F6 #EEE4FC

Accessibility & contrast

On white

3.05
#AE7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AE7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BEF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BEF#FFFFFF#000000##000000
##AE7BEF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#A290AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7bef;
/* rgb */ color: rgb(174, 123, 239);
/* oklch */ color: oklch(68.2% 0.171 302.4);
Tailwind
colors: {
  custom: {
    50: '#c9a2f5',
    500: '#ae7bef',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bef;
$custom-light: #c9a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bef",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 266.379,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68246,
    "c": 0.17071,
    "h": 302.4
  },
  "luminance": 0.29397
}

Semantic roles & 50–950 ramp

primary
#AE7BEF
secondary
#E5F2D3
accent
#DB0B7F
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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