#AE7BF1#AE7BF1

#AE7BF1 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.173 H 302.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AE7BF1
RGBrgb(174, 123, 241)
HSLhsl(266, 81%, 71%)
HSVhsv(266, 49%, 95%)
CMYKcmyk(27.8%, 49%, 0%, 5.5%)
CIE-LABlab(61.23, 43.07, -52.26)
CIE-LCHlch(61.23, 67.72, 309.49°)
OKLaboklab(68.36% 0.0917 -0.1469)
OKLCHoklch(68.36% 0.173 302)
XYZxyz(40.4121, 29.5154, 86.7700)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF1 #BEF17B
analogous
#7B83F1 #AE7BF1 #E97BF1
triadic
#AE7BF1 #F1AE7B #7BF1AE
tetradic
#AE7BF1 #F17B83 #BEF17B #7BF1E9
square
#AE7BF1 #F17B83 #BEF17B #7BF1E9
split-complementary
#AE7BF1 #F1E97B #83F17B
monochromatic
#6C17DA #8C44EB #AE7BF1 #D0B2F7 #EEE3FC

Accessibility & contrast

On white

3.04
#AE7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AE7BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF1#FFFFFF#000000##000000
##AE7BF11.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F5
Deuteranopia (green-blind)
#6393EE
Tritanopia (blue-blind)
#A290AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7bf1;
/* rgb */ color: rgb(174, 123, 241);
/* oklch */ color: oklch(68.4% 0.173 302.0);
Tailwind
colors: {
  custom: {
    50: '#c9a2f6',
    500: '#ae7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf1;
$custom-light: #c9a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf1",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 265.932,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.17314,
    "h": 302
  },
  "luminance": 0.29515
}

Semantic roles & 50–950 ramp

primary
#AE7BF1
secondary
#E6F3D5
accent
#DD0881
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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