#F28FF0#F28FF0

#F28FF0 is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.6% C 0.169 H 327.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#F28FF0
RGBrgb(242, 143, 240)
HSLhsl(301, 79%, 75%)
HSVhsv(301, 41%, 95%)
CMYKcmyk(0%, 40.9%, 0.8%, 5.1%)
CIE-LABlab(72.77, 51.39, -33.10)
CIE-LCHlch(72.77, 61.13, 327.21°)
OKLaboklab(78.61% 0.1431 -0.0903)
OKLCHoklch(78.61% 0.169 327.8)
XYZxyz(62.1675, 44.8164, 87.7970)
Luminance0.4481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FF0 #8FF291
analogous
#C28FF2 #F28FF0 #F28FBE
triadic
#F28FF0 #F0F28F #8FF0F2
tetradic
#F28FF0 #F2C28F #8FF291 #8FBEF2
square
#F28FF0 #F2C28F #8FF291 #8FBEF2
split-complementary
#F28FF0 #BEF28F #8FF2C2
monochromatic
#E521E1 #EC58E9 #F28FF0 #F8C6F7 #FCE4FB

Accessibility & contrast

On white

2.11
#F28FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#F28FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FF0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FF0#FFFFFF#000000##000000
##F28FF01.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF3
Deuteranopia (green-blind)
#A3B7ED
Tritanopia (blue-blind)
#F898B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28ff0;
/* rgb */ color: rgb(242, 143, 240);
/* oklch */ color: oklch(78.6% 0.169 327.8);
Tailwind
colors: {
  custom: {
    50: '#f8b2f5',
    500: '#f28ff0',
    950: '#000000',
  },
}
SCSS
$custom: #f28ff0;
$custom-light: #f8b2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ff0",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 301.212,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78613,
    "c": 0.16918,
    "h": 327.8
  },
  "luminance": 0.44813
}

Semantic roles & 50–950 ramp

primary
#F28FF0
secondary
#D7F4D8
accent
#DB0E0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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