#F2AFFE#F2AFFE

#F2AFFE is a very light, vivid purple. Relative luminance 0.567; OKLCH L 84.2% C 0.129 H 321.3°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#F2AFFE
RGBrgb(242, 175, 254)
HSLhsl(291, 98%, 84%)
HSVhsv(291, 31%, 100%)
CMYKcmyk(4.7%, 31.1%, 0%, 0.4%)
CIE-LABlab(80.01, 37.35, -29.53)
CIE-LCHlch(80.01, 47.61, 321.67°)
OKLaboklab(84.25% 0.1003 -0.0804)
OKLCHoklch(84.25% 0.129 321.3)
XYZxyz(69.8351, 56.6949, 101.0112)
Luminance0.5669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFFE #BBFEAF
analogous
#CBAFFE #F2AFFE #FEAFE3
triadic
#F2AFFE #FEF2AF #AFFEF2
tetradic
#F2AFFE #FECBAF #BBFEAF #AFE3FE
square
#F2AFFE #FECBAF #BBFEAF #AFE3FE
split-complementary
#F2AFFE #E3FEAF #AFFECB
monochromatic
#DE36FC #E873FD #F2AFFE #FAE1FF #FAE1FF

Accessibility & contrast

On white

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

On black

12.34
#F2AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFFE
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFFE#FFFFFF#000000##000000
##F2AFFE1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#B6C9FB
Tritanopia (blue-blind)
#F4B7CC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2affe;
/* rgb */ color: rgb(242, 175, 254);
/* oklch */ color: oklch(84.2% 0.129 321.3);
Tailwind
colors: {
  custom: {
    50: '#f7c7ff',
    500: '#f2affe',
    950: '#000000',
  },
}
SCSS
$custom: #f2affe;
$custom-light: #f7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2affe",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 290.886,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.84247,
    "c": 0.12856,
    "h": 321.3
  },
  "luminance": 0.56693
}

Semantic roles & 50–950 ramp

primary
#F2AFFE
secondary
#80E46E
accent
#E60023
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F2AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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