#AE7BF5#AE7BF5

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

Color values

HEX#AE7BF5
RGBrgb(174, 123, 245)
HSLhsl(265, 86%, 72%)
HSVhsv(265, 50%, 96%)
CMYKcmyk(29%, 49.8%, 0%, 3.9%)
CIE-LABlab(61.44, 44.03, -54.14)
CIE-LCHlch(61.44, 69.78, 309.12°)
OKLaboklab(68.58% 0.0921 -0.1524)
OKLCHoklch(68.58% 0.178 301.1)
XYZxyz(41.0162, 29.7570, 89.9513)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF5 #C2F57B
analogous
#7B85F5 #AE7BF5 #EB7BF5
triadic
#AE7BF5 #F5AE7B #7BF5AE
tetradic
#AE7BF5 #F57B85 #C2F57B #7BF5EB
square
#AE7BF5 #F57B85 #C2F57B #7BF5EB
split-complementary
#AE7BF5 #F5EB7B #85F57B
monochromatic
#6A11E4 #8B42F1 #AE7BF5 #D1B4F9 #EEE3FD

Accessibility & contrast

On white

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

On black

6.95
#AE7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF5#FFFFFF#000000##000000
##AE7BF51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#A092AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7bf5;
/* rgb */ color: rgb(174, 123, 245);
/* oklch */ color: oklch(68.6% 0.178 301.1);
Tailwind
colors: {
  custom: {
    50: '#c9a2f9',
    500: '#ae7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf5;
$custom-light: #c9a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf5",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 265.082,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68581,
    "c": 0.178,
    "h": 301.1
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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