#AE56FF#AE56FF

#AE56FF is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.241 H 304.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AE56FF
RGBrgb(174, 86, 255)
HSLhsl(271, 100%, 67%)
HSVhsv(271, 66%, 100%)
CMYKcmyk(31.8%, 66.3%, 0%, 0%)
CIE-LABlab(54.94, 65.22, -70.10)
CIE-LCHlch(54.94, 95.74, 312.93°)
OKLaboklab(64.02% 0.1355 -0.1991)
OKLCHoklch(64.02% 0.241 304.2)
XYZxyz(38.8293, 22.8744, 96.9579)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56FF #A7FF56
analogous
#5A56FF #AE56FF #FF56FB
triadic
#AE56FF #FFAE56 #56FFAE
tetradic
#AE56FF #FF5A56 #A7FF56 #56FBFF
square
#AE56FF #FF5A56 #A7FF56 #56FBFF
split-complementary
#AE56FF #FBFF56 #56FF5A
monochromatic
#7200DB #9119FF #AE56FF #CB93FF #E9D0FF

Accessibility & contrast

On white

3.77
#AE56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AE56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56FF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56FF#FFFFFF#000000##000000
##AE56FF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1583FB
Tritanopia (blue-blind)
#9F7CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ae56ff;
/* rgb */ color: rgb(174, 86, 255);
/* oklch */ color: oklch(64.0% 0.241 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb8bff',
    500: '#ae56ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae56ff;
$custom-light: #cb8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56ff",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 271.243,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6402,
    "c": 0.24083,
    "h": 304.2
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#AE56FF
secondary
#D7F3BD
accent
#E6006E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AE56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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