#AE40F0#AE40F0

#AE40F0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.6% C 0.251 H 309.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AE40F0
RGBrgb(174, 64, 240)
HSLhsl(278, 85%, 60%)
HSVhsv(278, 73%, 94%)
CMYKcmyk(27.5%, 73.3%, 0%, 5.9%)
CIE-LABlab(50.64, 71.20, -68.71)
CIE-LCHlch(50.64, 98.95, 316.02°)
OKLaboklab(60.63% 0.1589 -0.1949)
OKLCHoklch(60.63% 0.251 309.2)
XYZxyz(35.0139, 18.9574, 84.2358)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40F0 #82F040
analogous
#5640F0 #AE40F0 #F040DA
triadic
#AE40F0 #F0AE40 #40F0AE
tetradic
#AE40F0 #F05640 #82F040 #40DAF0
square
#AE40F0 #F05640 #82F040 #40DAF0
split-complementary
#AE40F0 #DAF040 #40F056
monochromatic
#6E0DA8 #9312E1 #AE40F0 #C679F4 #DEB1F9

Accessibility & contrast

On white

4.38
#AE40F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AE40F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40F0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40F0#FFFFFF#000000##000000
##AE40F01.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#A46A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae40f0;
/* rgb */ color: rgb(174, 64, 240);
/* oklch */ color: oklch(60.6% 0.251 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc7ff6',
    500: '#ae40f0',
    950: '#000000',
  },
}
SCSS
$custom: #ae40f0;
$custom-light: #cc7ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40f0",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 240
  },
  "hsl": {
    "h": 277.5,
    "s": 85.437,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.25145,
    "h": 309.2
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#AE40F0
secondary
#BDE8A4
accent
#FC2C7A
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #AE40F0

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

Preview Lab → · Contrast checker → · Palette generator →

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