#F897FE#F897FE

#F897FE is a light, vivid purple. Relative luminance 0.492; OKLCH L 81.1% C 0.173 H 324.9°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#F897FE
RGBrgb(248, 151, 254)
HSLhsl(297, 98%, 79%)
HSVhsv(297, 41%, 100%)
CMYKcmyk(2.4%, 40.6%, 0%, 0.4%)
CIE-LABlab(75.61, 51.61, -36.26)
CIE-LCHlch(75.61, 63.07, 324.90°)
OKLaboklab(81.07% 0.1413 -0.0992)
OKLCHoklch(81.07% 0.173 324.9)
XYZxyz(67.6658, 49.2483, 99.6883)
Luminance0.4924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897FE #9DFE97
analogous
#C597FE #F897FE #FE97D1
triadic
#F897FE #FEF897 #97FEF8
tetradic
#F897FE #FEC597 #9DFE97 #97D1FE
square
#F897FE #FEC597 #9DFE97 #97D1FE
split-complementary
#F897FE #D1FE97 #97FEC5
monochromatic
#F01EFD #F45AFD #F897FE #FCD4FF #FDE1FF

Accessibility & contrast

On white

1.94
#F897FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#F897FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897FE
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897FE#FFFFFF#000000##000000
##F897FE1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#A7BFFB
Tritanopia (blue-blind)
#FCA2BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f897fe;
/* rgb */ color: rgb(248, 151, 254);
/* oklch */ color: oklch(81.1% 0.173 324.9);
Tailwind
colors: {
  custom: {
    50: '#fcb8ff',
    500: '#f897fe',
    950: '#000000',
  },
}
SCSS
$custom: #f897fe;
$custom-light: #fcb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f897fe",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 296.505,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81066,
    "c": 0.17267,
    "h": 324.9
  },
  "luminance": 0.49245
}

Semantic roles & 50–950 ramp

primary
#F897FE
secondary
#D6F7D4
accent
#E6000D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F897FE

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

Preview Lab → · Contrast checker → · Palette generator →

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