#AE40CB#AE40CB

#AE40CB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.218 H 318.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AE40CB
RGBrgb(174, 64, 203)
HSLhsl(287, 57%, 52%)
HSVhsv(287, 68%, 80%)
CMYKcmyk(14.3%, 68.5%, 0%, 20.4%)
CIE-LABlab(48.23, 63.82, -51.55)
CIE-LCHlch(48.23, 82.04, 321.07°)
OKLaboklab(58.16% 0.1632 -0.1445)
OKLCHoklch(58.16% 0.218 318.5)
XYZxyz(30.0670, 16.9786, 58.1818)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40CB #5DCB40
analogous
#6840CB #AE40CB #CB40A3
triadic
#AE40CB #CBAE40 #40CBAE
tetradic
#AE40CB #CB6840 #5DCB40 #40A3CB
square
#AE40CB #CB6840 #5DCB40 #40A3CB
split-complementary
#AE40CB #A3CB40 #40CB68
monochromatic
#601F72 #892CA2 #AE40CB #C270D8 #D7A0E5

Accessibility & contrast

On white

4.78
#AE40CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AE40CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40CB#FFFFFF#000000##FFFFFF
##AE40CB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#AE5A81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae40cb;
/* rgb */ color: rgb(174, 64, 203);
/* oklch */ color: oklch(58.2% 0.218 318.5);
Tailwind
colors: {
  custom: {
    50: '#ca7edb',
    500: '#ae40cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae40cb;
$custom-light: #ca7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40cb",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 287.482,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5816,
    "c": 0.21795,
    "h": 318.5
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#AE40CB
secondary
#A2D295
accent
#E04767
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE40CB

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

Preview Lab → · Contrast checker → · Palette generator →

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