#AE7FFB#AE7FFB

#AE7FFB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.179 H 299.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AE7FFB
RGBrgb(174, 127, 251)
HSLhsl(263, 94%, 74%)
HSVhsv(263, 49%, 98%)
CMYKcmyk(30.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(62.63, 43.29, -55.56)
CIE-LCHlch(62.63, 70.44, 307.93°)
OKLaboklab(69.57% 0.0875 -0.1565)
OKLCHoklch(69.57% 0.179 299.2)
XYZxyz(42.4534, 31.1421, 95.0225)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FFB #CCFB7F
analogous
#7F8EFB #AE7FFB #EC7FFB
triadic
#AE7FFB #FBAE7F #7FFBAE
tetradic
#AE7FFB #FB7F8E #CCFB7F #7FFBEC
square
#AE7FFB #FB7F8E #CCFB7F #7FFBEC
split-complementary
#AE7FFB #FBEC7F #8EFB7F
monochromatic
#6308F7 #8844F9 #AE7FFB #D4BAFD #ECE1FE

Accessibility & contrast

On white

2.91
#AE7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AE7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7FFB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7FFB#FFFFFF#000000##000000
##AE7FFB1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#9E96B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae7ffb;
/* rgb */ color: rgb(174, 127, 251);
/* oklch */ color: oklch(69.6% 0.179 299.2);
Tailwind
colors: {
  custom: {
    50: '#c9a5fd',
    500: '#ae7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ae7ffb;
$custom-light: #c9a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7ffb",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 262.742,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69566,
    "c": 0.17929,
    "h": 299.2
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

primary
#AE7FFB
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AE7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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