#F28FFB#F28FFB

#F28FFB is a light, vivid purple. Relative luminance 0.455; OKLCH L 79.1% C 0.179 H 324.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#F28FFB
RGBrgb(242, 143, 251)
HSLhsl(295, 93%, 77%)
HSVhsv(295, 43%, 98%)
CMYKcmyk(3.6%, 43%, 0%, 1.6%)
CIE-LABlab(73.21, 53.37, -38.40)
CIE-LCHlch(73.21, 65.75, 324.26°)
OKLaboklab(79.09% 0.1453 -0.1054)
OKLCHoklch(79.09% 0.179 324)
XYZxyz(63.8513, 45.4899, 96.6652)
Luminance0.4549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FFB #98FB8F
analogous
#BC8FFB #F28FFB #FB8FCE
triadic
#F28FFB #FBF28F #8FFBF2
tetradic
#F28FFB #FBBC8F #98FB8F #8FCEFB
square
#F28FFB #FBBC8F #98FB8F #8FCEFB
split-complementary
#F28FFB #CEFB8F #8FFBBC
monochromatic
#E419F7 #EB54F9 #F28FFB #F9CAFD #FCE1FE

Accessibility & contrast

On white

2.08
#F28FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#F28FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FFB
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FFB#FFFFFF#000000##000000
##F28FFB1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#F69BB9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f28ffb;
/* rgb */ color: rgb(242, 143, 251);
/* oklch */ color: oklch(79.1% 0.179 324.0);
Tailwind
colors: {
  custom: {
    50: '#f8b2fd',
    500: '#f28ffb',
    950: '#000000',
  },
}
SCSS
$custom: #f28ffb;
$custom-light: #f8b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ffb",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 295,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.17945,
    "h": 324
  },
  "luminance": 0.45487
}

Semantic roles & 50–950 ramp

primary
#F28FFB
secondary
#D8F6D5
accent
#E60013
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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