#AE7BF7#AE7BF7

#AE7BF7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.180 H 300.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AE7BF7
RGBrgb(174, 123, 247)
HSLhsl(265, 89%, 73%)
HSVhsv(265, 50%, 97%)
CMYKcmyk(29.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(61.55, 44.51, -55.07)
CIE-LCHlch(61.55, 70.81, 308.95°)
OKLaboklab(68.69% 0.0922 -0.1551)
OKLCHoklch(68.69% 0.18 300.7)
XYZxyz(41.3231, 29.8798, 91.5680)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF7 #C4F77B
analogous
#7B86F7 #AE7BF7 #EC7BF7
triadic
#AE7BF7 #F7AE7B #7BF7AE
tetradic
#AE7BF7 #F77B86 #C4F77B #7BF7EC
square
#AE7BF7 #F77B86 #C4F77B #7BF7EC
split-complementary
#AE7BF7 #F7EC7B #86F77B
monochromatic
#680EE9 #8B41F4 #AE7BF7 #D1B5FA #EDE2FD

Accessibility & contrast

On white

3.01
#AE7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AE7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF7#FFFFFF#000000##000000
##AE7BF71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A092AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7bf7;
/* rgb */ color: rgb(174, 123, 247);
/* oklch */ color: oklch(68.7% 0.180 300.7);
Tailwind
colors: {
  custom: {
    50: '#c9a2fa',
    500: '#ae7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf7;
$custom-light: #c9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf7",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 264.677,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.18044,
    "h": 300.7
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#AE7BF7
secondary
#E8F5D6
accent
#E50087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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