#F2D7FF#F2D7FF

#F2D7FF is a very light, moderate purple. Relative luminance 0.747; OKLCH L 91.4% C 0.061 H 314.8°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F2D7FF
RGBrgb(242, 215, 255)
HSLhsl(281, 100%, 92%)
HSVhsv(281, 16%, 100%)
CMYKcmyk(5.1%, 15.7%, 0%, 0%)
CIE-LABlab(89.25, 16.37, -16.03)
CIE-LCHlch(89.25, 22.91, 315.60°)
OKLaboklab(91.36% 0.0428 -0.0431)
OKLCHoklch(91.36% 0.061 314.8)
XYZxyz(78.9655, 74.6988, 104.8467)
Luminance0.7470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D7FF #E4FFD7
analogous
#DED7FF #F2D7FF #FFD7F8
triadic
#F2D7FF #FFF2D7 #D7FFF2
tetradic
#F2D7FF #FFDED7 #E4FFD7 #D7F8FF
square
#F2D7FF #FFDED7 #E4FFD7 #D7F8FF
split-complementary
#F2D7FF #F8FFD7 #D7FFDE
monochromatic
#CA5DFF #DE9AFF #F2D7FF #F5E0FF #F5E0FF

Accessibility & contrast

On white

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

On black

15.94
#F2D7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D7FF
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D7FF#FFFFFF#000000##000000
##F2D7FF1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2DFFF
Deuteranopia (green-blind)
#D7E1FE
Tritanopia (blue-blind)
#F2DBE4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2d7ff;
/* rgb */ color: rgb(242, 215, 255);
/* oklch */ color: oklch(91.4% 0.061 314.8);
Tailwind
colors: {
  custom: {
    50: '#f6e3ff',
    500: '#f2d7ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2d7ff;
$custom-light: #f6e3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d7ff",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 255
  },
  "hsl": {
    "h": 280.5,
    "s": 100,
    "l": 92.157
  },
  "oklch": {
    "l": 0.9136,
    "c": 0.06077,
    "h": 314.8
  },
  "luminance": 0.74698
}

Semantic roles & 50–950 ramp

primary
#F2D7FF
secondary
#ADEB8F
accent
#E6004B
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #F2D7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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