#F2DEFE#F2DEFE

#F2DEFE is a very light, muted violet. Relative luminance 0.783; OKLCH L 92.6% C 0.048 H 313.0°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F2DEFE
RGBrgb(242, 222, 254)
HSLhsl(278, 94%, 93%)
HSVhsv(278, 13%, 100%)
CMYKcmyk(4.7%, 12.6%, 0%, 0.4%)
CIE-LABlab(90.91, 12.51, -13.03)
CIE-LCHlch(90.91, 18.06, 313.85°)
OKLaboklab(92.64% 0.0325 -0.0349)
OKLCHoklch(92.64% 0.048 313)
XYZxyz(80.6257, 78.2761, 104.6080)
Luminance0.7828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DEFE #EAFEDE
analogous
#E2DEFE #F2DEFE #FEDEFA
triadic
#F2DEFE #FEF2DE #DEFEF2
tetradic
#F2DEFE #FEE2DE #EAFEDE #DEFAFE
square
#F2DEFE #FEE2DE #EAFEDE #DEFAFE
split-complementary
#F2DEFE #FAFEDE #DEFEE2
monochromatic
#C367FA #DBA3FC #F2DEFE #F3E1FE #F3E1FE

Accessibility & contrast

On white

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

On black

16.66
#F2DEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DEFE
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DEFE#FFFFFF#000000##000000
##F2DEFE1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2defe;
/* rgb */ color: rgb(242, 222, 254);
/* oklch */ color: oklch(92.6% 0.048 313.0);
Tailwind
colors: {
  custom: {
    50: '#f6e8fe',
    500: '#f2defe',
    950: '#000000',
  },
}
SCSS
$custom: #f2defe;
$custom-light: #f6e8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2defe",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 254
  },
  "hsl": {
    "h": 277.5,
    "s": 94.118,
    "l": 93.333
  },
  "oklch": {
    "l": 0.92635,
    "c": 0.04773,
    "h": 313
  },
  "luminance": 0.78276
}

Semantic roles & 50–950 ramp

primary
#F2DEFE
secondary
#B6EA97
accent
#E60056
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F2DEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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