#AE4FEC#AE4FEC

#AE4FEC is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.9% C 0.230 H 308.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AE4FEC
RGBrgb(174, 79, 236)
HSLhsl(276, 81%, 62%)
HSVhsv(276, 67%, 93%)
CMYKcmyk(26.3%, 66.5%, 0%, 7.5%)
CIE-LABlab(52.56, 64.18, -63.35)
CIE-LCHlch(52.56, 90.18, 315.37°)
OKLaboklab(61.92% 0.1448 -0.1792)
OKLCHoklch(61.92% 0.23 308.9)
XYZxyz(35.3888, 20.6474, 81.4617)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FEC #8DEC4F
analogous
#604FEC #AE4FEC #EC4FDB
triadic
#AE4FEC #ECAE4F #4FECAE
tetradic
#AE4FEC #EC604F #8DEC4F #4FDBEC
square
#AE4FEC #EC604F #8DEC4F #4FDBEC
split-complementary
#AE4FEC #DBEC4F #4FEC60
monochromatic
#7113AE #9419E5 #AE4FEC #C786F2 #E1BDF8

Accessibility & contrast

On white

4.09
#AE4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AE4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4FEC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FEC#FFFFFF#000000##000000
##AE4FEC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#A57097
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae4fec;
/* rgb */ color: rgb(174, 79, 236);
/* oklch */ color: oklch(61.9% 0.230 308.9);
Tailwind
colors: {
  custom: {
    50: '#cb87f3',
    500: '#ae4fec',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fec;
$custom-light: #cb87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fec",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 276.306,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.23041,
    "h": 308.9
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#AE4FEC
secondary
#C5E8AE
accent
#DD095C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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