#F5AFFC#F5AFFC

#F5AFFC is a very light, vivid purple. Relative luminance 0.571; OKLCH L 84.5% C 0.128 H 323.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#F5AFFC
RGBrgb(245, 175, 252)
HSLhsl(295, 93%, 84%)
HSVhsv(295, 31%, 99%)
CMYKcmyk(2.8%, 30.6%, 0%, 1.2%)
CIE-LABlab(80.24, 37.91, -28.08)
CIE-LCHlch(80.24, 47.17, 323.47°)
OKLaboklab(84.47% 0.1031 -0.0763)
OKLCHoklch(84.47% 0.128 323.5)
XYZxyz(70.5549, 57.1029, 99.3819)
Luminance0.5710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5AFFC #B6FCAF
analogous
#CEAFFC #F5AFFC #FCAFDC
triadic
#F5AFFC #FCF5AF #AFFCF5
tetradic
#F5AFFC #FCCEAF #B6FCAF #AFDCFC
square
#F5AFFC #FCCEAF #B6FCAF #AFDCFC
split-complementary
#F5AFFC #DCFCAF #AFFCCE
monochromatic
#E639F8 #EE74FA #F5AFFC #FBE2FE #FBE2FE

Accessibility & contrast

On white

1.69
#F5AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#F5AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5AFFC
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5AFFC#FFFFFF#000000##000000
##F5AFFC1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C2FF
Deuteranopia (green-blind)
#B9CAF9
Tritanopia (blue-blind)
#F8B7CB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f5affc;
/* rgb */ color: rgb(245, 175, 252);
/* oklch */ color: oklch(84.5% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#f9c7fd',
    500: '#f5affc',
    950: '#000000',
  },
}
SCSS
$custom: #f5affc;
$custom-light: #f9c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f5affc",
  "rgb": {
    "r": 245,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 294.545,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.84466,
    "c": 0.12827,
    "h": 323.5
  },
  "luminance": 0.57101
}

Semantic roles & 50–950 ramp

primary
#F5AFFC
secondary
#79E06F
accent
#E60015
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F5AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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