#F2AEFE#F2AEFE

#F2AEFE is a very light, vivid purple. Relative luminance 0.563; OKLCH L 84.1% C 0.130 H 321.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#F2AEFE
RGBrgb(242, 174, 254)
HSLhsl(291, 98%, 84%)
HSVhsv(291, 31%, 100%)
CMYKcmyk(4.7%, 31.5%, 0%, 0.4%)
CIE-LABlab(79.79, 37.88, -29.87)
CIE-LCHlch(79.79, 48.24, 321.75°)
OKLaboklab(84.08% 0.1018 -0.0813)
OKLCHoklch(84.08% 0.13 321.4)
XYZxyz(69.6412, 56.3071, 100.9466)
Luminance0.5631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AEFE #BAFEAE
analogous
#CAAEFE #F2AEFE #FEAEE2
triadic
#F2AEFE #FEF2AE #AEFEF2
tetradic
#F2AEFE #FECAAE #BAFEAE #AEE2FE
square
#F2AEFE #FECAAE #BAFEAE #AEE2FE
split-complementary
#F2AEFE #E2FEAE #AEFECA
monochromatic
#DF35FD #E872FD #F2AEFE #FAE1FF #FAE1FF

Accessibility & contrast

On white

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

On black

12.26
#F2AEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AEFE
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AEFE#FFFFFF#000000##000000
##F2AEFE1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2aefe;
/* rgb */ color: rgb(242, 174, 254);
/* oklch */ color: oklch(84.1% 0.130 321.4);
Tailwind
colors: {
  custom: {
    50: '#f7c7ff',
    500: '#f2aefe',
    950: '#000000',
  },
}
SCSS
$custom: #f2aefe;
$custom-light: #f7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2aefe",
  "rgb": {
    "r": 242,
    "g": 174,
    "b": 254
  },
  "hsl": {
    "h": 291,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.8408,
    "c": 0.13028,
    "h": 321.4
  },
  "luminance": 0.56305
}

Semantic roles & 50–950 ramp

primary
#F2AEFE
secondary
#7FE36D
accent
#E60022
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F2AEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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