#AE7FE7#AE7FE7

#AE7FE7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.155 H 303.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AE7FE7
RGBrgb(174, 127, 231)
HSLhsl(267, 68%, 70%)
HSVhsv(267, 45%, 91%)
CMYKcmyk(24.7%, 45%, 0%, 9.4%)
CIE-LABlab(61.61, 38.50, -46.13)
CIE-LCHlch(61.61, 60.08, 309.85°)
OKLaboklab(68.47% 0.0852 -0.129)
OKLCHoklch(68.47% 0.155 303.4)
XYZxyz(39.4656, 29.9470, 79.2870)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FE7 #B8E77F
analogous
#7F84E7 #AE7FE7 #E27FE7
triadic
#AE7FE7 #E7AE7F #7FE7AE
tetradic
#AE7FE7 #E77F84 #B8E77F #7FE7E2
square
#AE7FE7 #E77F84 #B8E77F #7FE7E2
split-complementary
#AE7FE7 #E7E27F #84E77F
monochromatic
#6E25C6 #8D4BDD #AE7FE7 #CFB3F1 #EFE5FA

Accessibility & contrast

On white

3.00
#AE7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AE7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7FE7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7FE7#FFFFFF#000000##000000
##AE7FE71.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#6E95E4
Tritanopia (blue-blind)
#A491A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7fe7;
/* rgb */ color: rgb(174, 127, 231);
/* oklch */ color: oklch(68.5% 0.155 303.4);
Tailwind
colors: {
  custom: {
    50: '#c8a5ef',
    500: '#ae7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ae7fe7;
$custom-light: #c8a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7fe7",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 267.115,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.15457,
    "h": 303.4
  },
  "luminance": 0.29947
}

Semantic roles & 50–950 ramp

primary
#AE7FE7
secondary
#E2EFD2
accent
#D0157C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AE7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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