#FFCAFE#FFCAFE

#FFCAFE is a very light, moderate purple. Relative luminance 0.707; OKLCH L 90.1% C 0.090 H 326.9°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#FFCAFE
RGBrgb(255, 202, 254)
HSLhsl(301, 100%, 90%)
HSVhsv(301, 21%, 100%)
CMYKcmyk(0%, 20.8%, 0.4%, 0%)
CIE-LABlab(87.32, 27.23, -18.30)
CIE-LCHlch(87.32, 32.81, 326.11°)
OKLaboklab(90.13% 0.0753 -0.0491)
OKLCHoklch(90.13% 0.09 326.9)
XYZxyz(80.2480, 70.6588, 103.1579)
Luminance0.7066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCAFE #CAFFCB
analogous
#E6CAFF #FFCAFE #FFCAE4
triadic
#FFCAFE #FEFFCA #CAFEFF
tetradic
#FFCAFE #FFE6CA #CAFFCB #CAE4FF
square
#FFCAFE #FFE6CA #CAFFCB #CAE4FF
split-complementary
#FFCAFE #E4FFCA #CAFFE6
monochromatic
#FF50FC #FF8DFD #FFCAFE #FFE0FE #FFE0FE

Accessibility & contrast

On white

1.39
#FFCAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#FFCAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCAFE
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCAFE#FFFFFF#000000##000000
##FFCAFE1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7D7FF
Deuteranopia (green-blind)
#D3DDFC
Tritanopia (blue-blind)
#FFCEDC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ffcafe;
/* rgb */ color: rgb(255, 202, 254);
/* oklch */ color: oklch(90.1% 0.090 326.9);
Tailwind
colors: {
  custom: {
    50: '#ffdafe',
    500: '#ffcafe',
    950: '#000000',
  },
}
SCSS
$custom: #ffcafe;
$custom-light: #ffdafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcafe",
  "rgb": {
    "r": 255,
    "g": 202,
    "b": 254
  },
  "hsl": {
    "h": 301.132,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.90125,
    "c": 0.08992,
    "h": 326.9
  },
  "luminance": 0.70657
}

Semantic roles & 50–950 ramp

primary
#FFCAFE
secondary
#84E986
accent
#E60400
background
#FFFEFF
surface
#FFFBFF
border
#D7D4D7
text
#181517
muted
#868485

Preview Lab

Preview with #FFCAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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