#F0CEFB#F0CEFB

#F0CEFB is a very light, moderate purple. Relative luminance 0.696; OKLCH L 89.4% C 0.071 H 317.8°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#F0CEFB
RGBrgb(240, 206, 251)
HSLhsl(285, 85%, 90%)
HSVhsv(285, 18%, 98%)
CMYKcmyk(4.4%, 17.9%, 0%, 1.6%)
CIE-LABlab(86.82, 19.71, -17.60)
CIE-LCHlch(86.82, 26.43, 318.25°)
OKLaboklab(89.39% 0.0523 -0.0474)
OKLCHoklch(89.39% 0.071 317.8)
XYZxyz(75.4165, 69.6339, 100.7158)
Luminance0.6963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CEFB #D9FBCE
analogous
#DACEFB #F0CEFB #FBCEF0
triadic
#F0CEFB #FBF0CE #CEFBF0
tetradic
#F0CEFB #FBDACE #D9FBCE #CEF0FB
square
#F0CEFB #FBDACE #D9FBCE #CEF0FB
split-complementary
#F0CEFB #F0FBCE #CEFBDA
monochromatic
#CD5DF2 #DF95F6 #F0CEFB #F6E3FD #F6E3FD

Accessibility & contrast

On white

1.41
#F0CEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#F0CEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CEFB
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CEFB#FFFFFF#000000##000000
##F0CEFB1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9D7FD
Deuteranopia (green-blind)
#D0DBF9
Tritanopia (blue-blind)
#F0D3DD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0cefb;
/* rgb */ color: rgb(240, 206, 251);
/* oklch */ color: oklch(89.4% 0.071 317.8);
Tailwind
colors: {
  custom: {
    50: '#f5ddfc',
    500: '#f0cefb',
    950: '#000000',
  },
}
SCSS
$custom: #f0cefb;
$custom-light: #f5ddfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cefb",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 251
  },
  "hsl": {
    "h": 285.333,
    "s": 84.906,
    "l": 89.608
  },
  "oklch": {
    "l": 0.89393,
    "c": 0.07059,
    "h": 317.8
  },
  "luminance": 0.69633
}

Semantic roles & 50–950 ramp

primary
#F0CEFB
secondary
#A1E28C
accent
#E1043A
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171517
muted
#858485

Preview Lab

Preview with #F0CEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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