#F28FFC#F28FFC

#F28FFC is a light, vivid purple. Relative luminance 0.456; OKLCH L 79.1% C 0.180 H 323.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#F28FFC
RGBrgb(242, 143, 252)
HSLhsl(294, 95%, 77%)
HSVhsv(294, 43%, 99%)
CMYKcmyk(4%, 43.3%, 0%, 1.2%)
CIE-LABlab(73.25, 53.55, -38.88)
CIE-LCHlch(73.25, 66.18, 324.02°)
OKLaboklab(79.13% 0.1454 -0.1067)
OKLCHoklch(79.13% 0.18 323.7)
XYZxyz(64.0094, 45.5532, 97.4975)
Luminance0.4555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FFC #99FC8F
analogous
#BB8FFC #F28FFC #FC8FD0
triadic
#F28FFC #FCF28F #8FFCF2
tetradic
#F28FFC #FCBB8F #99FC8F #8FD0FC
square
#F28FFC #FCBB8F #99FC8F #8FD0FC
split-complementary
#F28FFC #D0FC8F #8FFCBB
monochromatic
#E418F9 #EB53FA #F28FFC #F9CBFE #FCE1FE

Accessibility & contrast

On white

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

On black

10.11
#F28FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FFC
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FFC#FFFFFF#000000##000000
##F28FFC1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28ffc;
/* rgb */ color: rgb(242, 143, 252);
/* oklch */ color: oklch(79.1% 0.180 323.7);
Tailwind
colors: {
  custom: {
    50: '#f8b2fd',
    500: '#f28ffc',
    950: '#000000',
  },
}
SCSS
$custom: #f28ffc;
$custom-light: #f8b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ffc",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 294.495,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79133,
    "c": 0.1804,
    "h": 323.7
  },
  "luminance": 0.4555
}

Semantic roles & 50–950 ramp

primary
#F28FFC
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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