#F2AFF7#F2AFF7

#F2AFF7 is a very light, vivid purple. Relative luminance 0.563; OKLCH L 84.0% C 0.121 H 324.2°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#F2AFF7
RGBrgb(242, 175, 247)
HSLhsl(296, 82%, 83%)
HSVhsv(296, 29%, 97%)
CMYKcmyk(2%, 29.1%, 0%, 3.1%)
CIE-LABlab(79.76, 36.04, -26.15)
CIE-LCHlch(79.76, 44.53, 324.03°)
OKLaboklab(83.98% 0.0985 -0.0709)
OKLCHoklch(83.98% 0.121 324.2)
XYZxyz(68.7346, 56.2547, 95.2152)
Luminance0.5625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFF7 #B4F7AF
analogous
#CEAFF7 #F2AFF7 #F7AFD8
triadic
#F2AFF7 #F7F2AF #AFF7F2
tetradic
#F2AFF7 #F7CEAF #B4F7AF #AFD8F7
square
#F2AFF7 #F7CEAF #B4F7AF #AFD8F7
split-complementary
#F2AFF7 #D8F7AF #AFF7CE
monochromatic
#E040EC #E977F1 #F2AFF7 #FAE3FC #FAE3FC

Accessibility & contrast

On white

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

On black

12.25
#F2AFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFF7
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFF7#FFFFFF#000000##000000
##F2AFF71.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C1FA
Deuteranopia (green-blind)
#B9C9F5
Tritanopia (blue-blind)
#F5B6C9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2aff7;
/* rgb */ color: rgb(242, 175, 247);
/* oklch */ color: oklch(84.0% 0.121 324.2);
Tailwind
colors: {
  custom: {
    50: '#f7c7fa',
    500: '#f2aff7',
    950: '#000000',
  },
}
SCSS
$custom: #f2aff7;
$custom-light: #f7c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2aff7",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 295.833,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.83975,
    "c": 0.12135,
    "h": 324.2
  },
  "luminance": 0.56253
}

Semantic roles & 50–950 ramp

primary
#F2AFF7
secondary
#79D972
accent
#DE0716
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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