#AE71F2#AE71F2

#AE71F2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.190 H 303.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AE71F2
RGBrgb(174, 113, 242)
HSLhsl(268, 83%, 70%)
HSVhsv(268, 53%, 95%)
CMYKcmyk(28.1%, 53.3%, 0%, 5.1%)
CIE-LABlab(59.18, 48.72, -56.09)
CIE-LCHlch(59.18, 74.30, 310.98°)
OKLaboklab(66.85% 0.1047 -0.158)
OKLCHoklch(66.85% 0.19 303.5)
XYZxyz(39.3841, 27.2198, 87.1663)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE71F2 #B5F271
analogous
#7175F2 #AE71F2 #EF71F2
triadic
#AE71F2 #F2AE71 #71F2AE
tetradic
#AE71F2 #F27175 #B5F271 #71F2EF
square
#AE71F2 #F27175 #B5F271 #71F2EF
split-complementary
#AE71F2 #F2EF71 #75F271
monochromatic
#6F14D5 #8E39ED #AE71F2 #CEA9F7 #EEE1FC

Accessibility & contrast

On white

3.26
#AE71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AE71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE71F2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE71F2#FFFFFF#000000##000000
##AE71F21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#A289A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ae71f2;
/* rgb */ color: rgb(174, 113, 242);
/* oklch */ color: oklch(66.8% 0.190 303.5);
Tailwind
colors: {
  custom: {
    50: '#c99cf7',
    500: '#ae71f2',
    950: '#000000',
  },
}
SCSS
$custom: #ae71f2;
$custom-light: #c99cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae71f2",
  "rgb": {
    "r": 174,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 268.372,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.18955,
    "h": 303.5
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#AE71F2
secondary
#E0F2CD
accent
#E00679
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AE71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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