#FFAEF2#FFAEF2

#FFAEF2 is a very light, vivid purple. Relative luminance 0.579; OKLCH L 84.9% C 0.127 H 332.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#FFAEF2
RGBrgb(255, 174, 242)
HSLhsl(310, 100%, 84%)
HSVhsv(310, 32%, 100%)
CMYKcmyk(0%, 31.8%, 5.1%, 0%)
CIE-LABlab(80.71, 39.79, -21.90)
CIE-LCHlch(80.71, 45.42, 331.18°)
OKLaboklab(84.94% 0.1129 -0.0589)
OKLCHoklch(84.94% 0.127 332.5)
XYZxyz(72.4021, 57.9460, 91.3581)
Luminance0.5794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAEF2 #AEFFBB
analogous
#E4AEFF #FFAEF2 #FFAECA
triadic
#FFAEF2 #F2FFAE #AEF2FF
tetradic
#FFAEF2 #FFE4AE #AEFFBB #AECAFF
square
#FFAEF2 #FFE4AE #AEFFBB #AECAFF
split-complementary
#FFAEF2 #CAFFAE #AEFFE4
monochromatic
#FF34DE #FF71E8 #FFAEF2 #FFE0FA #FFE0FA

Accessibility & contrast

On white

1.67
#FFAEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#FFAEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAEF2
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAEF2#FFFFFF#000000##000000
##FFAEF21.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC1F5
Deuteranopia (green-blind)
#C0CCEF
Tritanopia (blue-blind)
#FFB2C6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffaef2;
/* rgb */ color: rgb(255, 174, 242);
/* oklch */ color: oklch(84.9% 0.127 332.5);
Tailwind
colors: {
  custom: {
    50: '#ffc7f6',
    500: '#ffaef2',
    950: '#000000',
  },
}
SCSS
$custom: #ffaef2;
$custom-light: #ffc7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaef2",
  "rgb": {
    "r": 255,
    "g": 174,
    "b": 242
  },
  "hsl": {
    "h": 309.63,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.84943,
    "c": 0.12735,
    "h": 332.5
  },
  "luminance": 0.57943
}

Semantic roles & 50–950 ramp

primary
#FFAEF2
secondary
#6CE580
accent
#E62500
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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