#AE7BF6#AE7BF6

#AE7BF6 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.179 H 300.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AE7BF6
RGBrgb(174, 123, 246)
HSLhsl(265, 87%, 72%)
HSVhsv(265, 50%, 96%)
CMYKcmyk(29.3%, 50%, 0%, 3.5%)
CIE-LABlab(61.50, 44.27, -54.61)
CIE-LCHlch(61.50, 70.30, 309.03°)
OKLaboklab(68.64% 0.0922 -0.1537)
OKLCHoklch(68.64% 0.179 300.9)
XYZxyz(41.1692, 29.8182, 90.7575)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF6 #C3F67B
analogous
#7B86F6 #AE7BF6 #EB7BF6
triadic
#AE7BF6 #F6AE7B #7BF6AE
tetradic
#AE7BF6 #F67B86 #C3F67B #7BF6EB
square
#AE7BF6 #F67B86 #C3F67B #7BF6EB
split-complementary
#AE7BF6 #F6EB7B #86F67B
monochromatic
#6910E7 #8B42F2 #AE7BF6 #D1B4FA #EDE2FD

Accessibility & contrast

On white

3.02
#AE7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AE7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF6#FFFFFF#000000##000000
##AE7BF61.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#A092AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7bf6;
/* rgb */ color: rgb(174, 123, 246);
/* oklch */ color: oklch(68.6% 0.179 300.9);
Tailwind
colors: {
  custom: {
    50: '#c9a2fa',
    500: '#ae7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf6;
$custom-light: #c9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf6",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 264.878,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68638,
    "c": 0.17922,
    "h": 300.9
  },
  "luminance": 0.29818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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