#F2AEFF#F2AEFF

#F2AEFF is a very light, vivid purple. Relative luminance 0.564; OKLCH L 84.1% C 0.131 H 321.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#F2AEFF
RGBrgb(242, 174, 255)
HSLhsl(290, 100%, 84%)
HSVhsv(290, 32%, 100%)
CMYKcmyk(5.1%, 31.8%, 0%, 0%)
CIE-LABlab(79.82, 38.07, -30.35)
CIE-LCHlch(79.82, 48.68, 321.44°)
OKLaboklab(84.12% 0.102 -0.0827)
OKLCHoklch(84.12% 0.131 321)
XYZxyz(69.8017, 56.3713, 101.7921)
Luminance0.5637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AEFF #BBFFAE
analogous
#CAAEFF #F2AEFF #FFAEE4
triadic
#F2AEFF #FFF2AE #AEFFF2
tetradic
#F2AEFF #FFCAAE #BBFFAE #AEE4FF
square
#F2AEFF #FFCAAE #BBFFAE #AEE4FF
split-complementary
#F2AEFF #E4FFAE #AEFFCA
monochromatic
#DE34FF #E871FF #F2AEFF #FAE0FF #FAE0FF

Accessibility & contrast

On white

1.71
#F2AEFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#F2AEFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AEFF
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AEFF#FFFFFF#000000##000000
##F2AEFF1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C1FF
Deuteranopia (green-blind)
#B5C8FC
Tritanopia (blue-blind)
#F4B7CC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2aeff;
/* rgb */ color: rgb(242, 174, 255);
/* oklch */ color: oklch(84.1% 0.131 321.0);
Tailwind
colors: {
  custom: {
    50: '#f7c7ff',
    500: '#f2aeff',
    950: '#000000',
  },
}
SCSS
$custom: #f2aeff;
$custom-light: #f7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2aeff",
  "rgb": {
    "r": 242,
    "g": 174,
    "b": 255
  },
  "hsl": {
    "h": 290.37,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.8412,
    "c": 0.13133,
    "h": 321
  },
  "luminance": 0.56369
}

Semantic roles & 50–950 ramp

primary
#F2AEFF
secondary
#80E56C
accent
#E60025
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F2AEFF

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

Preview Lab → · Contrast checker → · Palette generator →

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