#F0DFFC#F0DFFC

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

Color values

HEX#F0DFFC
RGBrgb(240, 223, 252)
HSLhsl(275, 83%, 93%)
HSVhsv(275, 12%, 99%)
CMYKcmyk(4.8%, 11.5%, 0%, 1.2%)
CIE-LABlab(90.93, 10.97, -11.96)
CIE-LCHlch(90.93, 16.23, 312.51°)
OKLaboklab(92.6% 0.0283 -0.032)
OKLCHoklch(92.6% 0.043 311.5)
XYZxyz(79.8906, 78.3293, 102.9869)
Luminance0.7833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DFFC #EBFCDF
analogous
#E1DFFC #F0DFFC #FCDFF9
triadic
#F0DFFC #FCF0DF #DFFCF0
tetradic
#F0DFFC #FCE1DF #EBFCDF #DFF9FC
square
#F0DFFC #FCE1DF #EBFCDF #DFF9FC
split-complementary
#F0DFFC #F9FCDF #DFFCE1
monochromatic
#BC6FF2 #D6A7F7 #F0DFFC #F2E3FC #F2E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DFFC#FFFFFF#000000##000000
##F0DFFC1.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)
#DBE4FD
Deuteranopia (green-blind)
#DEE5FB
Tritanopia (blue-blind)
#EFE2E8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0dffc;
/* rgb */ color: rgb(240, 223, 252);
/* oklch */ color: oklch(92.6% 0.043 311.5);
Tailwind
colors: {
  custom: {
    50: '#f5e9fd',
    500: '#f0dffc',
    950: '#000000',
  },
}
SCSS
$custom: #f0dffc;
$custom-light: #f5e9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dffc",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 252
  },
  "hsl": {
    "h": 275.172,
    "s": 82.857,
    "l": 93.137
  },
  "oklch": {
    "l": 0.92596,
    "c": 0.04276,
    "h": 311.5
  },
  "luminance": 0.78329
}

Semantic roles & 50–950 ramp

primary
#F0DFFC
secondary
#B9E49B
accent
#DF0660
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0DFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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