#F0DFFB#F0DFFB

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

Color values

HEX#F0DFFB
RGBrgb(240, 223, 251)
HSLhsl(276, 78%, 93%)
HSVhsv(276, 11%, 98%)
CMYKcmyk(4.4%, 11.2%, 0%, 1.6%)
CIE-LABlab(90.90, 10.78, -11.48)
CIE-LCHlch(90.90, 15.75, 313.19°)
OKLaboklab(92.56% 0.028 -0.0307)
OKLCHoklch(92.56% 0.042 312.3)
XYZxyz(79.7326, 78.2661, 102.1545)
Luminance0.7827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DFFB #EAFBDF
analogous
#E2DFFB #F0DFFB #FBDFF8
triadic
#F0DFFB #FBF0DF #DFFBF0
tetradic
#F0DFFB #FBE2DF #EAFBDF #DFF8FB
square
#F0DFFB #FBE2DF #EAFBDF #DFF8FB
split-complementary
#F0DFFB #F8FBDF #DFFBE2
monochromatic
#BD72ED #D7A9F4 #F0DFFB #F2E4FC #F2E4FC

Accessibility & contrast

On white

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

On black

16.65
#F0DFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DFFB
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DFFB#FFFFFF#000000##000000
##F0DFFB1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBE4FC
Deuteranopia (green-blind)
#DFE5FA
Tritanopia (blue-blind)
#EFE2E8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0dffb;
/* rgb */ color: rgb(240, 223, 251);
/* oklch */ color: oklch(92.6% 0.042 312.3);
Tailwind
colors: {
  custom: {
    50: '#f5e9fc',
    500: '#f0dffb',
    950: '#000000',
  },
}
SCSS
$custom: #f0dffb;
$custom-light: #f5e9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dffb",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 251
  },
  "hsl": {
    "h": 276.429,
    "s": 77.778,
    "l": 92.941
  },
  "oklch": {
    "l": 0.92564,
    "c": 0.04155,
    "h": 312.3
  },
  "luminance": 0.78266
}

Semantic roles & 50–950 ramp

primary
#F0DFFB
secondary
#B8E29C
accent
#DA0B5D
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0DFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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