#F2DEFD#F2DEFD

#F2DEFD is a very light, muted violet. Relative luminance 0.782; OKLCH L 92.6% C 0.047 H 313.8°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F2DEFD
RGBrgb(242, 222, 253)
HSLhsl(279, 89%, 93%)
HSVhsv(279, 12%, 99%)
CMYKcmyk(4.3%, 12.3%, 0%, 0.8%)
CIE-LABlab(90.88, 12.32, -12.55)
CIE-LCHlch(90.88, 17.59, 314.49°)
OKLaboklab(92.6% 0.0322 -0.0336)
OKLCHoklch(92.6% 0.047 313.8)
XYZxyz(80.4660, 78.2122, 103.7669)
Luminance0.7821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DEFD #E9FDDE
analogous
#E2DEFD #F2DEFD #FDDEF8
triadic
#F2DEFD #FDF2DE #DEFDF2
tetradic
#F2DEFD #FDE2DE #E9FDDE #DEF8FD
square
#F2DEFD #FDE2DE #E9FDDE #DEF8FD
split-complementary
#F2DEFD #F8FDDE #DEFDE2
monochromatic
#C56BF6 #DBA4FA #F2DEFD #F4E2FD #F4E2FD

Accessibility & contrast

On white

1.26
#F2DEFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F2DEFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DEFD
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DEFD#FFFFFF#000000##000000
##F2DEFD1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAE4FE
Deuteranopia (green-blind)
#DEE5FC
Tritanopia (blue-blind)
#F1E1E8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2defd;
/* rgb */ color: rgb(242, 222, 253);
/* oklch */ color: oklch(92.6% 0.047 313.8);
Tailwind
colors: {
  custom: {
    50: '#f6e8fe',
    500: '#f2defd',
    950: '#000000',
  },
}
SCSS
$custom: #f2defd;
$custom-light: #f6e8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2defd",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 253
  },
  "hsl": {
    "h": 278.71,
    "s": 88.571,
    "l": 93.137
  },
  "oklch": {
    "l": 0.92602,
    "c": 0.04654,
    "h": 313.8
  },
  "luminance": 0.78212
}

Semantic roles & 50–950 ramp

primary
#F2DEFD
secondary
#B4E798
accent
#E50052
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F2DEFD

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

Preview Lab → · Contrast checker → · Palette generator →

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