#F28FFD#F28FFD

#F28FFD is a light, vivid purple. Relative luminance 0.456; OKLCH L 79.2% C 0.181 H 323.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#F28FFD
RGBrgb(242, 143, 253)
HSLhsl(294, 96%, 78%)
HSVhsv(294, 43%, 99%)
CMYKcmyk(4.3%, 43.5%, 0%, 0.8%)
CIE-LABlab(73.30, 53.73, -39.36)
CIE-LCHlch(73.30, 66.61, 323.77°)
OKLaboklab(79.18% 0.1456 -0.1081)
OKLCHoklch(79.18% 0.181 323.4)
XYZxyz(64.1682, 45.6167, 98.3343)
Luminance0.4561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FFD #9AFD8F
analogous
#BB8FFD #F28FFD #FD8FD1
triadic
#F28FFD #FDF28F #8FFDF2
tetradic
#F28FFD #FDBB8F #9AFD8F #8FD1FD
square
#F28FFD #FDBB8F #9AFD8F #8FD1FD
split-complementary
#F28FFD #D1FD8F #8FFDBB
monochromatic
#E417FB #EB53FC #F28FFD #F9CBFE #FCE1FE

Accessibility & contrast

On white

2.07
#F28FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#F28FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FFD
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FFD#FFFFFF#000000##000000
##F28FFD1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#9DB8FA
Tritanopia (blue-blind)
#F69CBA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f28ffd;
/* rgb */ color: rgb(242, 143, 253);
/* oklch */ color: oklch(79.2% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#f8b2fe',
    500: '#f28ffd',
    950: '#000000',
  },
}
SCSS
$custom: #f28ffd;
$custom-light: #f8b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ffd",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 294,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79178,
    "c": 0.18136,
    "h": 323.4
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#F28FFD
secondary
#D8F7D4
accent
#E60017
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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