#AE40FF#AE40FF

#AE40FF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.7% C 0.265 H 306.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE40FF
RGBrgb(174, 64, 255)
HSLhsl(275, 100%, 63%)
HSVhsv(275, 75%, 100%)
CMYKcmyk(31.8%, 74.9%, 0%, 0%)
CIE-LABlab(51.71, 74.34, -75.35)
CIE-LCHlch(51.71, 105.84, 314.61°)
OKLaboklab(61.72% 0.1561 -0.2144)
OKLCHoklch(61.72% 0.265 306.1)
XYZxyz(37.3350, 19.8858, 96.4598)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40FF #91FF40
analogous
#4E40FF #AE40FF #FF40F0
triadic
#AE40FF #FFAE40 #40FFAE
tetradic
#AE40FF #FF4E40 #91FF40 #40F0FF
square
#AE40FF #FF4E40 #91FF40 #40F0FF
split-complementary
#AE40FF #F0FF40 #40FF4E
monochromatic
#7100C5 #9403FF #AE40FF #C87DFF #E2BAFF

Accessibility & contrast

On white

4.22
#AE40FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AE40FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40FF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40FF#FFFFFF#000000##000000
##AE40FF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#9F709E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae40ff;
/* rgb */ color: rgb(174, 64, 255);
/* oklch */ color: oklch(61.7% 0.265 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc80ff',
    500: '#ae40ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ff;
$custom-light: #cc80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ff",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 274.555,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.26516,
    "h": 306.1
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#AE40FF
secondary
#C8F0AB
accent
#E60061
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AE40FF

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

Preview Lab → · Contrast checker → · Palette generator →

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