#F28FEE#F28FEE

#F28FEE is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.5% C 0.167 H 328.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#F28FEE
RGBrgb(242, 143, 238)
HSLhsl(302, 79%, 75%)
HSVhsv(302, 41%, 95%)
CMYKcmyk(0%, 40.9%, 1.7%, 5.1%)
CIE-LABlab(72.69, 51.04, -32.13)
CIE-LCHlch(72.69, 60.31, 327.81°)
OKLaboklab(78.53% 0.1427 -0.0875)
OKLCHoklch(78.53% 0.167 328.5)
XYZxyz(61.8720, 44.6982, 86.2409)
Luminance0.4470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FEE #8FF293
analogous
#C48FF2 #F28FEE #F28FBC
triadic
#F28FEE #EEF28F #8FEEF2
tetradic
#F28FEE #F2C48F #8FF293 #8FBCF2
square
#F28FEE #F2C48F #8FF293 #8FBCF2
split-complementary
#F28FEE #BCF28F #8FF2C4
monochromatic
#E521DD #EC58E6 #F28FEE #F8C6F6 #FCE4FB

Accessibility & contrast

On white

2.11
#F28FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#F28FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FEE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FEE#FFFFFF#000000##000000
##F28FEE1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#A3B7EB
Tritanopia (blue-blind)
#F898B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28fee;
/* rgb */ color: rgb(242, 143, 238);
/* oklch */ color: oklch(78.5% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#f8b2f3',
    500: '#f28fee',
    950: '#000000',
  },
}
SCSS
$custom: #f28fee;
$custom-light: #f8b2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fee",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 302.424,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78528,
    "c": 0.16736,
    "h": 328.5
  },
  "luminance": 0.44695
}

Semantic roles & 50–950 ramp

primary
#F28FEE
secondary
#D7F4D9
accent
#DB120A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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