#F2AFFD#F2AFFD

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

Color values

HEX#F2AFFD
RGBrgb(242, 175, 253)
HSLhsl(292, 95%, 84%)
HSVhsv(292, 31%, 99%)
CMYKcmyk(4.3%, 30.8%, 0%, 0.8%)
CIE-LABlab(79.97, 37.16, -29.05)
CIE-LCHlch(79.97, 47.17, 321.99°)
OKLaboklab(84.21% 0.1001 -0.079)
OKLCHoklch(84.21% 0.128 321.7)
XYZxyz(69.6754, 56.6310, 100.1700)
Luminance0.5663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFFD #BAFDAF
analogous
#CBAFFD #F2AFFD #FDAFE1
triadic
#F2AFFD #FDF2AF #AFFDF2
tetradic
#F2AFFD #FDCBAF #BAFDAF #AFE1FD
square
#F2AFFD #FDCBAF #BAFDAF #AFE1FD
split-complementary
#F2AFFD #E1FDAF #AFFDCB
monochromatic
#DF38FA #E873FC #F2AFFD #FAE1FE #FAE1FE

Accessibility & contrast

On white

1.70
#F2AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#F2AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFFD
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFFD#FFFFFF#000000##000000
##F2AFFD1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2affd;
/* rgb */ color: rgb(242, 175, 253);
/* oklch */ color: oklch(84.2% 0.128 321.7);
Tailwind
colors: {
  custom: {
    50: '#f7c7fe',
    500: '#f2affd',
    950: '#000000',
  },
}
SCSS
$custom: #f2affd;
$custom-light: #f7c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2affd",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 291.538,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.84207,
    "c": 0.12751,
    "h": 321.7
  },
  "luminance": 0.56629
}

Semantic roles & 50–950 ramp

primary
#F2AFFD
secondary
#7FE26E
accent
#E60020
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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