#F0CCFA#F0CCFA

#F0CCFA is a very light, moderate purple. Relative luminance 0.686; OKLCH L 89.0% C 0.073 H 318.8°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F0CCFA
RGBrgb(240, 204, 250)
HSLhsl(287, 82%, 89%)
HSVhsv(287, 18%, 98%)
CMYKcmyk(4%, 18.4%, 0%, 2%)
CIE-LABlab(86.31, 20.58, -17.83)
CIE-LCHlch(86.31, 27.23, 319.10°)
OKLaboklab(88.99% 0.0549 -0.048)
OKLCHoklch(88.99% 0.073 318.8)
XYZxyz(74.7809, 68.6142, 99.7284)
Luminance0.6861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CCFA #D6FACC
analogous
#D9CCFA #F0CCFA #FACCED
triadic
#F0CCFA #FAF0CC #CCFAF0
tetradic
#F0CCFA #FAD9CC #D6FACC #CCEDFA
square
#F0CCFA #FAD9CC #D6FACC #CCEDFA
split-complementary
#F0CCFA #EDFACC #CCFAD9
monochromatic
#CF5DEF #E094F5 #F0CCFA #F7E3FC #F7E3FC

Accessibility & contrast

On white

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

On black

14.72
#F0CCFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CCFA
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CCFA#FFFFFF#000000##000000
##F0CCFA1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7D6FC
Deuteranopia (green-blind)
#CFD9F8
Tritanopia (blue-blind)
#F1D1DC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0ccfa;
/* rgb */ color: rgb(240, 204, 250);
/* oklch */ color: oklch(89.0% 0.073 318.8);
Tailwind
colors: {
  custom: {
    50: '#f5dbfc',
    500: '#f0ccfa',
    950: '#000000',
  },
}
SCSS
$custom: #f0ccfa;
$custom-light: #f5dbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ccfa",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 250
  },
  "hsl": {
    "h": 286.957,
    "s": 82.143,
    "l": 89.02
  },
  "oklch": {
    "l": 0.88993,
    "c": 0.07292,
    "h": 318.8
  },
  "luminance": 0.68613
}

Semantic roles & 50–950 ramp

primary
#F0CCFA
secondary
#9DE08B
accent
#DF0736
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171517
muted
#858485

Preview Lab

Preview with #F0CCFA

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

Preview Lab → · Contrast checker → · Palette generator →

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