#F2AFF2#F2AFF2

#F2AFF2 is a very light, moderate purple. Relative luminance 0.559; OKLCH L 83.8% C 0.116 H 326.6°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#F2AFF2
RGBrgb(242, 175, 242)
HSLhsl(300, 72%, 82%)
HSVhsv(300, 28%, 95%)
CMYKcmyk(0%, 27.7%, 0%, 5.1%)
CIE-LABlab(79.59, 35.13, -23.73)
CIE-LCHlch(79.59, 42.39, 325.96°)
OKLaboklab(83.79% 0.0971 -0.0641)
OKLCHoklch(83.79% 0.116 326.6)
XYZxyz(67.9734, 55.9502, 91.2060)
Luminance0.5595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFF2 #AFF2AF
analogous
#D1AFF2 #F2AFF2 #F2AFD1
triadic
#F2AFF2 #F2F2AF #AFF2F2
tetradic
#F2AFF2 #F2D1AF #AFF2AF #AFD1F2
square
#F2AFF2 #F2D1AF #AFF2AF #AFD1F2
split-complementary
#F2AFF2 #D1F2AF #AFF2D1
monochromatic
#E146E1 #E97AE9 #F2AFF2 #FBE4FB #FBE5FB

Accessibility & contrast

On white

1.72
#F2AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#F2AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFF2
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFF2#FFFFFF#000000##000000
##F2AFF21.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC0F5
Deuteranopia (green-blind)
#BAC8F0
Tritanopia (blue-blind)
#F6B5C7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f2aff2;
/* rgb */ color: rgb(242, 175, 242);
/* oklch */ color: oklch(83.8% 0.116 326.6);
Tailwind
colors: {
  custom: {
    50: '#f7c7f6',
    500: '#f2aff2',
    950: '#000000',
  },
}
SCSS
$custom: #f2aff2;
$custom-light: #f7c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2aff2",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83786,
    "c": 0.11636,
    "h": 326.6
  },
  "luminance": 0.55948
}

Semantic roles & 50–950 ramp

primary
#F2AFF2
secondary
#74D174
accent
#D41111
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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