#F7AFF2#F7AFF2

#F7AFF2 is a very light, moderate purple. Relative luminance 0.568; OKLCH L 84.3% C 0.120 H 329.0°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#F7AFF2
RGBrgb(247, 175, 242)
HSLhsl(304, 82%, 83%)
HSVhsv(304, 29%, 97%)
CMYKcmyk(0%, 29.1%, 2%, 3.1%)
CIE-LABlab(80.09, 36.72, -22.91)
CIE-LCHlch(80.09, 43.28, 328.04°)
OKLaboklab(84.29% 0.1026 -0.0618)
OKLCHoklch(84.29% 0.12 329)
XYZxyz(69.7134, 56.8474, 91.2876)
Luminance0.5685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7AFF2 #AFF7B4
analogous
#D8AFF7 #F7AFF2 #F7AFCE
triadic
#F7AFF2 #F2F7AF #AFF2F7
tetradic
#F7AFF2 #F7D8AF #AFF7B4 #AFCEF7
square
#F7AFF2 #F7D8AF #AFF7B4 #AFCEF7
split-complementary
#F7AFF2 #CEF7AF #AFF7D8
monochromatic
#EC40E0 #F177E9 #F7AFF2 #FCE3FA #FCE3FA

Accessibility & contrast

On white

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

On black

12.37
#F7AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7AFF2
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7AFF2#FFFFFF#000000##000000
##F7AFF21.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC1F5
Deuteranopia (green-blind)
#BDCAF0
Tritanopia (blue-blind)
#FCB4C7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f7aff2;
/* rgb */ color: rgb(247, 175, 242);
/* oklch */ color: oklch(84.3% 0.120 329.0);
Tailwind
colors: {
  custom: {
    50: '#fac7f6',
    500: '#f7aff2',
    950: '#000000',
  },
}
SCSS
$custom: #f7aff2;
$custom-light: #fac7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7aff2",
  "rgb": {
    "r": 247,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 304.167,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84288,
    "c": 0.11979,
    "h": 329
  },
  "luminance": 0.56845
}

Semantic roles & 50–950 ramp

primary
#F7AFF2
secondary
#72D979
accent
#DE1607
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #F7AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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