#AE7BF2#AE7BF2

#AE7BF2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.174 H 301.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AE7BF2
RGBrgb(174, 123, 242)
HSLhsl(266, 82%, 72%)
HSVhsv(266, 49%, 95%)
CMYKcmyk(28.1%, 49.2%, 0%, 5.1%)
CIE-LABlab(61.29, 43.31, -52.73)
CIE-LCHlch(61.29, 68.24, 309.40°)
OKLaboklab(68.41% 0.0918 -0.1482)
OKLCHoklch(68.41% 0.174 301.8)
XYZxyz(40.5619, 29.5753, 87.5589)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF2 #BFF27B
analogous
#7B84F2 #AE7BF2 #E97BF2
triadic
#AE7BF2 #F2AE7B #7BF2AE
tetradic
#AE7BF2 #F27B84 #BFF27B #7BF2E9
square
#AE7BF2 #F27B84 #BFF27B #7BF2E9
split-complementary
#AE7BF2 #F2E97B #84F27B
monochromatic
#6B16DD #8C43ED #AE7BF2 #D0B3F7 #EEE3FC

Accessibility & contrast

On white

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

On black

6.92
#AE7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF2#FFFFFF#000000##000000
##AE7BF21.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#6393EF
Tritanopia (blue-blind)
#A191AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7bf2;
/* rgb */ color: rgb(174, 123, 242);
/* oklch */ color: oklch(68.4% 0.174 301.8);
Tailwind
colors: {
  custom: {
    50: '#c9a2f7',
    500: '#ae7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf2;
$custom-light: #c9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf2",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.17437,
    "h": 301.8
  },
  "luminance": 0.29575
}

Semantic roles & 50–950 ramp

primary
#AE7BF2
secondary
#E7F4D5
accent
#DE0782
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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