#F28DFE#F28DFE

#F28DFE is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.9% C 0.186 H 323.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#F28DFE
RGBrgb(242, 141, 254)
HSLhsl(294, 98%, 77%)
HSVhsv(294, 44%, 100%)
CMYKcmyk(4.7%, 44.5%, 0%, 0.4%)
CIE-LABlab(72.95, 54.92, -40.45)
CIE-LCHlch(72.95, 68.20, 323.63°)
OKLaboklab(78.93% 0.1485 -0.1112)
OKLCHoklch(78.93% 0.186 323.2)
XYZxyz(64.0304, 45.0855, 99.0763)
Luminance0.4508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DFE #99FE8D
analogous
#B98DFE #F28DFE #FE8DD2
triadic
#F28DFE #FEF28D #8DFEF2
tetradic
#F28DFE #FEB98D #99FE8D #8DD2FE
square
#F28DFE #FEB98D #99FE8D #8DD2FE
split-complementary
#F28DFE #D2FE8D #8DFEB9
monochromatic
#E414FD #EB50FD #F28DFE #F9CAFF #FCE1FF

Accessibility & contrast

On white

2.10
#F28DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#F28DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DFE
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DFE#FFFFFF#000000##000000
##F28DFE1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#F59ABA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28dfe;
/* rgb */ color: rgb(242, 141, 254);
/* oklch */ color: oklch(78.9% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#f8b1ff',
    500: '#f28dfe',
    950: '#000000',
  },
}
SCSS
$custom: #f28dfe;
$custom-light: #f8b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f28dfe",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 293.628,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78932,
    "c": 0.18556,
    "h": 323.2
  },
  "luminance": 0.45083
}

Semantic roles & 50–950 ramp

primary
#F28DFE
secondary
#D8F7D4
accent
#E60018
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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