#F2DEFF#F2DEFF

#F2DEFF is a very light, muted violet. Relative luminance 0.783; OKLCH L 92.7% C 0.049 H 312.2°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#F2DEFF
RGBrgb(242, 222, 255)
HSLhsl(276, 100%, 94%)
HSVhsv(276, 13%, 100%)
CMYKcmyk(5.1%, 12.9%, 0%, 0%)
CIE-LABlab(90.94, 12.70, -13.51)
CIE-LCHlch(90.94, 18.54, 313.24°)
OKLaboklab(92.67% 0.0329 -0.0362)
OKLCHoklch(92.67% 0.049 312.2)
XYZxyz(80.7862, 78.3403, 105.4536)
Luminance0.7834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DEFF #EBFFDE
analogous
#E1DEFF #F2DEFF #FFDEFB
triadic
#F2DEFF #FFF2DE #DEFFF2
tetradic
#F2DEFF #FFE1DE #EBFFDE #DEFBFF
square
#F2DEFF #FFE1DE #EBFFDE #DEFBFF
split-complementary
#F2DEFF #FBFFDE #DEFFE1
monochromatic
#C264FF #DAA1FF #F2DEFF #F3E0FF #F3E0FF

Accessibility & contrast

On white

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

On black

16.67
#F2DEFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DEFF
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DEFF#FFFFFF#000000##000000
##F2DEFF1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAE4FF
Deuteranopia (green-blind)
#DEE5FE
Tritanopia (blue-blind)
#F1E2E9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2deff;
/* rgb */ color: rgb(242, 222, 255);
/* oklch */ color: oklch(92.7% 0.049 312.2);
Tailwind
colors: {
  custom: {
    50: '#f6e8ff',
    500: '#f2deff',
    950: '#000000',
  },
}
SCSS
$custom: #f2deff;
$custom-light: #f6e8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2deff",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 255
  },
  "hsl": {
    "h": 276.364,
    "s": 100,
    "l": 93.529
  },
  "oklch": {
    "l": 0.92667,
    "c": 0.04893,
    "h": 312.2
  },
  "luminance": 0.7834
}

Semantic roles & 50–950 ramp

primary
#F2DEFF
secondary
#B7EC95
accent
#E6005A
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F2DEFF

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

Preview Lab → · Contrast checker → · Palette generator →

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