#F0CAFF#F0CAFF

#F0CAFF is a very light, moderate purple. Relative luminance 0.680; OKLCH L 88.8% C 0.082 H 316.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#F0CAFF
RGBrgb(240, 202, 255)
HSLhsl(283, 100%, 90%)
HSVhsv(283, 21%, 100%)
CMYKcmyk(5.9%, 20.8%, 0%, 0%)
CIE-LABlab(86.00, 22.59, -20.95)
CIE-LCHlch(86.00, 30.81, 317.17°)
OKLaboklab(88.8% 0.0594 -0.0566)
OKLCHoklch(88.8% 0.082 316.3)
XYZxyz(75.1030, 67.9874, 103.7548)
Luminance0.6799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CAFF #D9FFCA
analogous
#D6CAFF #F0CAFF #FFCAF4
triadic
#F0CAFF #FFF0CA #CAFFF0
tetradic
#F0CAFF #FFD6CA #D9FFCA #CAF4FF
square
#F0CAFF #FFD6CA #D9FFCA #CAF4FF
split-complementary
#F0CAFF #F4FFCA #CAFFD6
monochromatic
#CD50FF #DF8DFF #F0CAFF #F6E0FF #F6E0FF

Accessibility & contrast

On white

1.44
#F0CAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#F0CAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CAFF
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CAFF#FFFFFF#000000##000000
##F0CAFF1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4D5FF
Deuteranopia (green-blind)
#CBD8FD
Tritanopia (blue-blind)
#F0D0DC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0caff;
/* rgb */ color: rgb(240, 202, 255);
/* oklch */ color: oklch(88.8% 0.082 316.3);
Tailwind
colors: {
  custom: {
    50: '#f5daff',
    500: '#f0caff',
    950: '#000000',
  },
}
SCSS
$custom: #f0caff;
$custom-light: #f5daff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0caff",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 255
  },
  "hsl": {
    "h": 283.019,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.88804,
    "c": 0.08203,
    "h": 316.3
  },
  "luminance": 0.67986
}

Semantic roles & 50–950 ramp

primary
#F0CAFF
secondary
#A1E984
accent
#E60041
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171418
muted
#858386

Preview Lab

Preview with #F0CAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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