#F2AFEA#F2AFEA

#F2AFEA is a very light, moderate purple. Relative luminance 0.555; OKLCH L 83.5% C 0.109 H 330.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#F2AFEA
RGBrgb(242, 175, 234)
HSLhsl(307, 72%, 82%)
HSVhsv(307, 28%, 95%)
CMYKcmyk(0%, 27.7%, 3.3%, 5.1%)
CIE-LABlab(79.32, 33.69, -19.83)
CIE-LCHlch(79.32, 39.09, 329.52°)
OKLaboklab(83.49% 0.0948 -0.0533)
OKLCHoklch(83.49% 0.109 330.7)
XYZxyz(66.7980, 55.4801, 85.0160)
Luminance0.5548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFEA #AFF2B7
analogous
#D9AFF2 #F2AFEA #F2AFC9
triadic
#F2AFEA #EAF2AF #AFEAF2
tetradic
#F2AFEA #F2D9AF #AFF2B7 #AFC9F2
square
#F2AFEA #F2D9AF #AFF2B7 #AFC9F2
split-complementary
#F2AFEA #C9F2AF #AFF2D9
monochromatic
#E146CE #E97ADC #F2AFEA #FBE4F8 #FBE5F8

Accessibility & contrast

On white

1.74
#F2AFEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#F2AFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFEA
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFEA#FFFFFF#000000##000000
##F2AFEA1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEC
Deuteranopia (green-blind)
#BDC8E8
Tritanopia (blue-blind)
#F8B3C4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f2afea;
/* rgb */ color: rgb(242, 175, 234);
/* oklch */ color: oklch(83.5% 0.109 330.7);
Tailwind
colors: {
  custom: {
    50: '#f7c7f0',
    500: '#f2afea',
    950: '#000000',
  },
}
SCSS
$custom: #f2afea;
$custom-light: #f7c7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afea",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 307.164,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83493,
    "c": 0.10873,
    "h": 330.7
  },
  "luminance": 0.55478
}

Semantic roles & 50–950 ramp

primary
#F2AFEA
secondary
#74D17F
accent
#D42911
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171316
muted
#858285

Preview Lab

Preview with #F2AFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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