#F2D7FC#F2D7FC

#F2D7FC is a very light, muted purple. Relative luminance 0.745; OKLCH L 91.3% C 0.057 H 316.9°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F2D7FC
RGBrgb(242, 215, 252)
HSLhsl(284, 86%, 92%)
HSVhsv(284, 15%, 99%)
CMYKcmyk(4%, 14.7%, 0%, 1.2%)
CIE-LABlab(89.16, 15.81, -14.59)
CIE-LCHlch(89.16, 21.51, 317.30°)
OKLaboklab(91.26% 0.0419 -0.0391)
OKLCHoklch(91.26% 0.057 316.9)
XYZxyz(78.4864, 74.5072, 102.3232)
Luminance0.7451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D7FC #E1FCD7
analogous
#E0D7FC #F2D7FC #FCD7F4
triadic
#F2D7FC #FCF2D7 #D7FCF2
tetradic
#F2D7FC #FCE0D7 #E1FCD7 #D7F4FC
square
#F2D7FC #FCE0D7 #E1FCD7 #D7F4FC
split-complementary
#F2D7FC #F4FCD7 #D7FCE0
monochromatic
#CD65F3 #DF9EF8 #F2D7FC #F6E3FD #F6E3FD

Accessibility & contrast

On white

1.32
#F2D7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F2D7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D7FC
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D7FC#FFFFFF#000000##000000
##F2D7FC1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3DEFE
Deuteranopia (green-blind)
#D8E1FB
Tritanopia (blue-blind)
#F2DBE3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2d7fc;
/* rgb */ color: rgb(242, 215, 252);
/* oklch */ color: oklch(91.3% 0.057 316.9);
Tailwind
colors: {
  custom: {
    50: '#f6e3fd',
    500: '#f2d7fc',
    950: '#000000',
  },
}
SCSS
$custom: #f2d7fc;
$custom-light: #f6e3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d7fc",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 252
  },
  "hsl": {
    "h": 283.784,
    "s": 86.047,
    "l": 91.569
  },
  "oklch": {
    "l": 0.9126,
    "c": 0.0573,
    "h": 316.9
  },
  "luminance": 0.74506
}

Semantic roles & 50–950 ramp

primary
#F2D7FC
secondary
#A9E493
accent
#E3033F
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171517
muted
#858485

Preview Lab

Preview with #F2D7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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