#F0DCFA#F0DCFA

#F0DCFA is a very light, muted purple. Relative luminance 0.766; OKLCH L 92.0% C 0.045 H 314.6°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F0DCFA
RGBrgb(240, 220, 250)
HSLhsl(280, 75%, 92%)
HSVhsv(280, 12%, 98%)
CMYKcmyk(4%, 12%, 0%, 2%)
CIE-LABlab(90.14, 12.16, -12.09)
CIE-LCHlch(90.14, 17.14, 315.17°)
OKLaboklab(91.96% 0.0319 -0.0324)
OKLCHoklch(91.96% 0.045 314.6)
XYZxyz(78.7809, 76.6143, 101.0617)
Luminance0.7661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DCFA #E6FADC
analogous
#E1DCFA #F0DCFA #FADCF5
triadic
#F0DCFA #FAF0DC #DCFAF0
tetradic
#F0DCFA #FAE1DC #E6FADC #DCF5FA
square
#F0DCFA #FAE1DC #E6FADC #DCF5FA
split-complementary
#F0DCFA #F5FADC #DCFAE1
monochromatic
#C271EB #D9A6F2 #F0DCFA #F4E4FB #F4E4FB

Accessibility & contrast

On white

1.29
#F0DCFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#F0DCFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DCFA
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DCFA#FFFFFF#000000##000000
##F0DCFA1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8E2FB
Deuteranopia (green-blind)
#DCE3F9
Tritanopia (blue-blind)
#F0DFE6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0dcfa;
/* rgb */ color: rgb(240, 220, 250);
/* oklch */ color: oklch(92.0% 0.045 314.6);
Tailwind
colors: {
  custom: {
    50: '#f5e6fc',
    500: '#f0dcfa',
    950: '#000000',
  },
}
SCSS
$custom: #f0dcfa;
$custom-light: #f5e6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dcfa",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 250
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 92.157
  },
  "oklch": {
    "l": 0.91964,
    "c": 0.04543,
    "h": 314.6
  },
  "luminance": 0.76614
}

Semantic roles & 50–950 ramp

primary
#F0DCFA
secondary
#B2E09B
accent
#D70E51
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0DCFA

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

Preview Lab → · Contrast checker → · Palette generator →

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