#AE7AFA#AE7AFA

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

Color values

HEX#AE7AFA
RGBrgb(174, 122, 250)
HSLhsl(264, 93%, 73%)
HSVhsv(264, 51%, 98%)
CMYKcmyk(30.4%, 51.2%, 0%, 2%)
CIE-LABlab(61.50, 45.78, -56.81)
CIE-LCHlch(61.50, 72.96, 308.87°)
OKLaboklab(68.71% 0.0937 -0.1602)
OKLCHoklch(68.71% 0.186 300.3)
XYZxyz(41.6664, 29.8196, 93.9846)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AFA #C6FA7A
analogous
#7A86FA #AE7AFA #EE7AFA
triadic
#AE7AFA #FAAE7A #7AFAAE
tetradic
#AE7AFA #FA7A86 #C6FA7A #7AFAEE
square
#AE7AFA #FA7A86 #C6FA7A #7AFAEE
split-complementary
#AE7AFA #FAEE7A #86FA7A
monochromatic
#6709F1 #8A3FF8 #AE7AFA #D2B5FC #EDE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE7AFA#FFFFFF#000000##000000
##AE7AFA1.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)
#4D94FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#9F92AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7afa;
/* rgb */ color: rgb(174, 122, 250);
/* oklch */ color: oklch(68.7% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#c9a2fc',
    500: '#ae7afa',
    950: '#000000',
  },
}
SCSS
$custom: #ae7afa;
$custom-light: #c9a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7afa",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 264.375,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.18557,
    "h": 300.3
  },
  "luminance": 0.2982
}

Semantic roles & 50–950 ramp

primary
#AE7AFA
secondary
#E9F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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