#F2C7FF#F2C7FF

#F2C7FF is a very light, moderate purple. Relative luminance 0.669; OKLCH L 88.4% C 0.088 H 318.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F2C7FF
RGBrgb(242, 199, 255)
HSLhsl(286, 100%, 89%)
HSVhsv(286, 22%, 100%)
CMYKcmyk(5.1%, 22%, 0%, 0%)
CIE-LABlab(85.48, 24.82, -21.72)
CIE-LCHlch(85.48, 32.99, 318.81°)
OKLaboklab(88.44% 0.0659 -0.0587)
OKLCHoklch(88.44% 0.088 318.3)
XYZxyz(75.0888, 66.9453, 103.5545)
Luminance0.6694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C7FF #D4FFC7
analogous
#D6C7FF #F2C7FF #FFC7F0
triadic
#F2C7FF #FFF2C7 #C7FFF2
tetradic
#F2C7FF #FFD6C7 #D4FFC7 #C7F0FF
square
#F2C7FF #FFD6C7 #D4FFC7 #C7F0FF
split-complementary
#F2C7FF #F0FFC7 #C7FFD6
monochromatic
#D64DFF #E48AFF #F2C7FF #F8E0FF #F8E0FF

Accessibility & contrast

On white

1.46
#F2C7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#F2C7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C7FF
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C7FF#FFFFFF#000000##000000
##F2C7FF1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1D3FF
Deuteranopia (green-blind)
#CAD7FD
Tritanopia (blue-blind)
#F3CDDA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2c7ff;
/* rgb */ color: rgb(242, 199, 255);
/* oklch */ color: oklch(88.4% 0.088 318.3);
Tailwind
colors: {
  custom: {
    50: '#f6d8ff',
    500: '#f2c7ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2c7ff;
$custom-light: #f6d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c7ff",
  "rgb": {
    "r": 242,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 286.071,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.88442,
    "c": 0.08824,
    "h": 318.3
  },
  "luminance": 0.66944
}

Semantic roles & 50–950 ramp

primary
#F2C7FF
secondary
#99E981
accent
#E60035
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171418
muted
#858386

Preview Lab

Preview with #F2C7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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