#F0CCFB#F0CCFB

#F0CCFB is a very light, moderate purple. Relative luminance 0.687; OKLCH L 89.0% C 0.074 H 318.2°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F0CCFB
RGBrgb(240, 204, 251)
HSLhsl(286, 85%, 89%)
HSVhsv(286, 19%, 98%)
CMYKcmyk(4.4%, 18.7%, 0%, 1.6%)
CIE-LABlab(86.34, 20.77, -18.31)
CIE-LCHlch(86.34, 27.69, 318.60°)
OKLaboklab(89.03% 0.0552 -0.0493)
OKLCHoklch(89.03% 0.074 318.2)
XYZxyz(74.9381, 68.6771, 100.5564)
Luminance0.6868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CCFB #D7FBCC
analogous
#D9CCFB #F0CCFB #FBCCEF
triadic
#F0CCFB #FBF0CC #CCFBF0
tetradic
#F0CCFB #FBD9CC #D7FBCC #CCEFFB
square
#F0CCFB #FBD9CC #D7FBCC #CCEFFB
split-complementary
#F0CCFB #EFFBCC #CCFBD9
monochromatic
#CF5BF2 #DF93F7 #F0CCFB #F7E3FD #F7E3FD

Accessibility & contrast

On white

1.43
#F0CCFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F0CCFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CCFB
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CCFB#FFFFFF#000000##000000
##F0CCFB1.001.4314.7414.74
#FFFFFF1.431.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7D6FD
Deuteranopia (green-blind)
#CED9F9
Tritanopia (blue-blind)
#F0D1DC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0ccfb;
/* rgb */ color: rgb(240, 204, 251);
/* oklch */ color: oklch(89.0% 0.074 318.2);
Tailwind
colors: {
  custom: {
    50: '#f5dbfc',
    500: '#f0ccfb',
    950: '#000000',
  },
}
SCSS
$custom: #f0ccfb;
$custom-light: #f5dbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ccfb",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 251
  },
  "hsl": {
    "h": 285.957,
    "s": 85.455,
    "l": 89.216
  },
  "oklch": {
    "l": 0.89028,
    "c": 0.07404,
    "h": 318.2
  },
  "luminance": 0.68676
}

Semantic roles & 50–950 ramp

primary
#F0CCFB
secondary
#9EE28A
accent
#E20438
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171517
muted
#858485

Preview Lab

Preview with #F0CCFB

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

Preview Lab → · Contrast checker → · Palette generator →

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