#AE42FF#AE42FF

#AE42FF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.9% C 0.263 H 305.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AE42FF
RGBrgb(174, 66, 255)
HSLhsl(274, 100%, 63%)
HSVhsv(274, 74%, 100%)
CMYKcmyk(31.8%, 74.1%, 0%, 0%)
CIE-LABlab(51.97, 73.59, -74.92)
CIE-LCHlch(51.97, 105.02, 314.49°)
OKLaboklab(61.91% 0.1544 -0.2131)
OKLCHoklch(61.91% 0.263 305.9)
XYZxyz(37.4498, 20.1154, 96.4981)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42FF #93FF42
analogous
#5042FF #AE42FF #FF42F1
triadic
#AE42FF #FFAE42 #42FFAE
tetradic
#AE42FF #FF5042 #93FF42 #42F1FF
square
#AE42FF #FF5042 #93FF42 #42F1FF
split-complementary
#AE42FF #F1FF42 #42FF50
monochromatic
#7100C7 #9405FF #AE42FF #C87FFF #E2BCFF

Accessibility & contrast

On white

4.18
#AE42FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AE42FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42FF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42FF#FFFFFF#000000##000000
##AE42FF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#9F719E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae42ff;
/* rgb */ color: rgb(174, 66, 255);
/* oklch */ color: oklch(61.9% 0.263 305.9);
Tailwind
colors: {
  custom: {
    50: '#cc81ff',
    500: '#ae42ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ff;
$custom-light: #cc81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ff",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 274.286,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.26319,
    "h": 305.9
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#AE42FF
secondary
#CAF0AC
accent
#E60062
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AE42FF

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

Preview Lab → · Contrast checker → · Palette generator →

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