#F2AFFA#F2AFFA

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

Color values

HEX#F2AFFA
RGBrgb(242, 175, 250)
HSLhsl(294, 88%, 83%)
HSVhsv(294, 30%, 98%)
CMYKcmyk(3.2%, 30%, 0%, 2%)
CIE-LABlab(79.86, 36.60, -27.60)
CIE-LCHlch(79.86, 45.84, 322.98°)
OKLaboklab(84.09% 0.0993 -0.075)
OKLCHoklch(84.09% 0.124 322.9)
XYZxyz(69.2012, 56.4414, 97.6729)
Luminance0.5644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFFA #B7FAAF
analogous
#CCAFFA #F2AFFA #FAAFDC
triadic
#F2AFFA #FAF2AF #AFFAF2
tetradic
#F2AFFA #FACCAF #B7FAAF #AFDCFA
square
#F2AFFA #FACCAF #B7FAAF #AFDCFA
split-complementary
#F2AFFA #DCFAAF #AFFACC
monochromatic
#DF3CF3 #E975F6 #F2AFFA #FAE2FD #FAE2FD

Accessibility & contrast

On white

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

On black

12.29
#F2AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFFA
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFFA#FFFFFF#000000##000000
##F2AFFA1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#B8C9F7
Tritanopia (blue-blind)
#F5B6CA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2affa;
/* rgb */ color: rgb(242, 175, 250);
/* oklch */ color: oklch(84.1% 0.124 322.9);
Tailwind
colors: {
  custom: {
    50: '#f7c7fc',
    500: '#f2affa',
    950: '#000000',
  },
}
SCSS
$custom: #f2affa;
$custom-light: #f7c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2affa",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 293.6,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.84091,
    "c": 0.12441,
    "h": 322.9
  },
  "luminance": 0.56439
}

Semantic roles & 50–950 ramp

primary
#F2AFFA
secondary
#7CDD70
accent
#E50119
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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