#AE7CFB#AE7CFB

#AE7CFB is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.184 H 299.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AE7CFB
RGBrgb(174, 124, 251)
HSLhsl(264, 94%, 74%)
HSVhsv(264, 51%, 98%)
CMYKcmyk(30.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(61.98, 44.94, -56.59)
CIE-LCHlch(61.98, 72.26, 308.45°)
OKLaboklab(69.08% 0.0913 -0.1595)
OKLCHoklch(69.08% 0.184 299.8)
XYZxyz(42.0717, 30.3787, 94.8953)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7CFB #C9FB7C
analogous
#7C89FB #AE7CFB #ED7CFB
triadic
#AE7CFB #FBAE7C #7CFBAE
tetradic
#AE7CFB #FB7C89 #C9FB7C #7CFBED
square
#AE7CFB #FB7C89 #C9FB7C #7CFBED
split-complementary
#AE7CFB #FBED7C #89FB7C
monochromatic
#6507F5 #8941F9 #AE7CFB #D3B7FD #EDE1FE

Accessibility & contrast

On white

2.97
#AE7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AE7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7CFB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7CFB#FFFFFF#000000##000000
##AE7CFB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#9E94B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae7cfb;
/* rgb */ color: rgb(174, 124, 251);
/* oklch */ color: oklch(69.1% 0.184 299.8);
Tailwind
colors: {
  custom: {
    50: '#c9a3fd',
    500: '#ae7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ae7cfb;
$custom-light: #c9a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7cfb",
  "rgb": {
    "r": 174,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 263.622,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.18379,
    "h": 299.8
  },
  "luminance": 0.30379
}

Semantic roles & 50–950 ramp

primary
#AE7CFB
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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