#F28FFA#F28FFA

#F28FFA is a light, vivid purple. Relative luminance 0.454; OKLCH L 79.0% C 0.178 H 324.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#F28FFA
RGBrgb(242, 143, 250)
HSLhsl(296, 91%, 77%)
HSVhsv(296, 43%, 98%)
CMYKcmyk(3.2%, 42.8%, 0%, 2%)
CIE-LABlab(73.17, 53.18, -37.92)
CIE-LCHlch(73.17, 65.32, 324.51°)
OKLaboklab(79.04% 0.1451 -0.104)
OKLCHoklch(79.04% 0.179 324.4)
XYZxyz(63.6941, 45.4271, 95.8372)
Luminance0.4542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FFA #97FA8F
analogous
#BD8FFA #F28FFA #FA8FCD
triadic
#F28FFA #FAF28F #8FFAF2
tetradic
#F28FFA #FABD8F #97FA8F #8FCDFA
square
#F28FFA #FABD8F #97FA8F #8FCDFA
split-complementary
#F28FFA #CDFA8F #8FFABD
monochromatic
#E41AF5 #EB54F7 #F28FFA #F9CAFD #FCE2FE

Accessibility & contrast

On white

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

On black

10.08
#F28FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FFA
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FFA#FFFFFF#000000##000000
##F28FFA1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28ffa;
/* rgb */ color: rgb(242, 143, 250);
/* oklch */ color: oklch(79.0% 0.178 324.4);
Tailwind
colors: {
  custom: {
    50: '#f8b2fc',
    500: '#f28ffa',
    950: '#000000',
  },
}
SCSS
$custom: #f28ffa;
$custom-light: #f8b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ffa",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 295.514,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.1785,
    "h": 324.4
  },
  "luminance": 0.45424
}

Semantic roles & 50–950 ramp

primary
#F28FFA
secondary
#D8F6D5
accent
#E60011
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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