#F0CCFE#F0CCFE

#F0CCFE is a very light, moderate purple. Relative luminance 0.689; OKLCH L 89.1% C 0.077 H 316.5°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#F0CCFE
RGBrgb(240, 204, 254)
HSLhsl(283, 96%, 90%)
HSVhsv(283, 20%, 100%)
CMYKcmyk(5.5%, 19.7%, 0%, 0.4%)
CIE-LABlab(86.44, 21.34, -19.76)
CIE-LCHlch(86.44, 29.08, 317.21°)
OKLaboklab(89.13% 0.0562 -0.0533)
OKLCHoklch(89.13% 0.077 316.5)
XYZxyz(75.4147, 68.8677, 103.0667)
Luminance0.6887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CCFE #DAFECC
analogous
#D7CCFE #F0CCFE #FECCF3
triadic
#F0CCFE #FEF0CC #CCFEF0
tetradic
#F0CCFE #FED7CC #DAFECC #CCF3FE
square
#F0CCFE #FED7CC #DAFECC #CCF3FE
split-complementary
#F0CCFE #F3FECC #CCFED7
monochromatic
#CD54FC #DE90FD #F0CCFE #F6E1FE #F6E1FE

Accessibility & contrast

On white

1.42
#F0CCFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#F0CCFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CCFE
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CCFE#FFFFFF#000000##000000
##F0CCFE1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6D6FF
Deuteranopia (green-blind)
#CDD9FC
Tritanopia (blue-blind)
#F0D1DD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0ccfe;
/* rgb */ color: rgb(240, 204, 254);
/* oklch */ color: oklch(89.1% 0.077 316.5);
Tailwind
colors: {
  custom: {
    50: '#f5dbfe',
    500: '#f0ccfe',
    950: '#000000',
  },
}
SCSS
$custom: #f0ccfe;
$custom-light: #f5dbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ccfe",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 254
  },
  "hsl": {
    "h": 283.2,
    "s": 96.154,
    "l": 89.804
  },
  "oklch": {
    "l": 0.89132,
    "c": 0.07744,
    "h": 316.5
  },
  "luminance": 0.68867
}

Semantic roles & 50–950 ramp

primary
#F0CCFE
secondary
#A2E787
accent
#E60040
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171517
muted
#858485

Preview Lab

Preview with #F0CCFE

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

Preview Lab → · Contrast checker → · Palette generator →

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