#F2AEF7#F2AEF7

#F2AEF7 is a very light, vivid purple. Relative luminance 0.559; OKLCH L 83.8% C 0.123 H 324.3°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#F2AEF7
RGBrgb(242, 174, 247)
HSLhsl(296, 82%, 83%)
HSVhsv(296, 30%, 97%)
CMYKcmyk(2%, 29.6%, 0%, 3.1%)
CIE-LABlab(79.54, 36.57, -26.49)
CIE-LCHlch(79.54, 45.16, 324.08°)
OKLaboklab(83.81% 0.0999 -0.0718)
OKLCHoklch(83.81% 0.123 324.3)
XYZxyz(68.5407, 55.8669, 95.1505)
Luminance0.5586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AEF7 #B3F7AE
analogous
#CDAEF7 #F2AEF7 #F7AED8
triadic
#F2AEF7 #F7F2AE #AEF7F2
tetradic
#F2AEF7 #F7CDAE #B3F7AE #AED8F7
square
#F2AEF7 #F7CDAE #B3F7AE #AED8F7
split-complementary
#F2AEF7 #D8F7AE #AEF7CD
monochromatic
#E03FEC #E976F1 #F2AEF7 #FBE3FC #FBE3FC

Accessibility & contrast

On white

1.73
#F2AEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#F2AEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AEF7
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AEF7#FFFFFF#000000##000000
##F2AEF71.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C0FA
Deuteranopia (green-blind)
#B8C8F4
Tritanopia (blue-blind)
#F5B5C8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f2aef7;
/* rgb */ color: rgb(242, 174, 247);
/* oklch */ color: oklch(83.8% 0.123 324.3);
Tailwind
colors: {
  custom: {
    50: '#f7c7fa',
    500: '#f2aef7',
    950: '#000000',
  },
}
SCSS
$custom: #f2aef7;
$custom-light: #f7c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2aef7",
  "rgb": {
    "r": 242,
    "g": 174,
    "b": 247
  },
  "hsl": {
    "h": 295.89,
    "s": 82.022,
    "l": 82.549
  },
  "oklch": {
    "l": 0.83807,
    "c": 0.12308,
    "h": 324.3
  },
  "luminance": 0.55865
}

Semantic roles & 50–950 ramp

primary
#F2AEF7
secondary
#78D971
accent
#DE0716
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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