#F2AFFC#F2AFFC

#F2AFFC is a very light, vivid purple. Relative luminance 0.566; OKLCH L 84.2% C 0.126 H 322.1°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#F2AFFC
RGBrgb(242, 175, 252)
HSLhsl(292, 93%, 84%)
HSVhsv(292, 31%, 99%)
CMYKcmyk(4%, 30.6%, 0%, 1.2%)
CIE-LABlab(79.94, 36.98, -28.57)
CIE-LCHlch(79.94, 46.73, 322.31°)
OKLaboklab(84.17% 0.0998 -0.0777)
OKLCHoklch(84.17% 0.126 322.1)
XYZxyz(69.5165, 56.5675, 99.3333)
Luminance0.5656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFFC #B9FCAF
analogous
#CBAFFC #F2AFFC #FCAFDF
triadic
#F2AFFC #FCF2AF #AFFCF2
tetradic
#F2AFFC #FCCBAF #B9FCAF #AFDFFC
square
#F2AFFC #FCCBAF #B9FCAF #AFDFFC
split-complementary
#F2AFFC #DFFCAF #AFFCCB
monochromatic
#DF39F8 #E874FA #F2AFFC #FAE2FE #FAE2FE

Accessibility & contrast

On white

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

On black

12.31
#F2AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFFC
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFFC#FFFFFF#000000##000000
##F2AFFC1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C1FF
Deuteranopia (green-blind)
#B7C9F9
Tritanopia (blue-blind)
#F4B7CB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2affc;
/* rgb */ color: rgb(242, 175, 252);
/* oklch */ color: oklch(84.2% 0.126 322.1);
Tailwind
colors: {
  custom: {
    50: '#f7c7fd',
    500: '#f2affc',
    950: '#000000',
  },
}
SCSS
$custom: #f2affc;
$custom-light: #f7c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2affc",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 292.208,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.84168,
    "c": 0.12647,
    "h": 322.1
  },
  "luminance": 0.56565
}

Semantic roles & 50–950 ramp

primary
#F2AFFC
secondary
#7EE06F
accent
#E6001E
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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