#F28FED#F28FED

#F28FED is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.5% C 0.166 H 328.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#F28FED
RGBrgb(242, 143, 237)
HSLhsl(303, 79%, 75%)
HSVhsv(303, 41%, 95%)
CMYKcmyk(0%, 40.9%, 2.1%, 5.1%)
CIE-LABlab(72.65, 50.86, -31.64)
CIE-LCHlch(72.65, 59.90, 328.11°)
OKLaboklab(78.49% 0.1425 -0.0861)
OKLCHoklch(78.49% 0.166 328.8)
XYZxyz(61.7255, 44.6396, 85.4693)
Luminance0.4464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FED #8FF294
analogous
#C58FF2 #F28FED #F28FBB
triadic
#F28FED #EDF28F #8FEDF2
tetradic
#F28FED #F2C58F #8FF294 #8FBBF2
square
#F28FED #F2C58F #8FF294 #8FBBF2
split-complementary
#F28FED #BBF28F #8FF2C5
monochromatic
#E521DB #EC58E4 #F28FED #F8C6F6 #FCE4FB

Accessibility & contrast

On white

2.12
#F28FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#F28FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FED
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FED#FFFFFF#000000##000000
##F28FED1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#A4B7EA
Tritanopia (blue-blind)
#F897B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28fed;
/* rgb */ color: rgb(242, 143, 237);
/* oklch */ color: oklch(78.5% 0.166 328.8);
Tailwind
colors: {
  custom: {
    50: '#f8b2f3',
    500: '#f28fed',
    950: '#000000',
  },
}
SCSS
$custom: #f28fed;
$custom-light: #f8b2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fed",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 303.03,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78487,
    "c": 0.16646,
    "h": 328.8
  },
  "luminance": 0.44637
}

Semantic roles & 50–950 ramp

primary
#F28FED
secondary
#D7F4D9
accent
#DB150A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28FED

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

Preview Lab → · Contrast checker → · Palette generator →

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