#F28DFD#F28DFD

#F28DFD is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.9% C 0.185 H 323.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#F28DFD
RGBrgb(242, 141, 253)
HSLhsl(294, 97%, 77%)
HSVhsv(294, 44%, 99%)
CMYKcmyk(4.3%, 44.3%, 0%, 0.8%)
CIE-LABlab(72.91, 54.73, -39.97)
CIE-LCHlch(72.91, 67.77, 323.86°)
OKLaboklab(78.89% 0.1484 -0.1098)
OKLCHoklch(78.89% 0.185 323.5)
XYZxyz(63.8707, 45.0216, 98.2351)
Luminance0.4502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DFD #98FD8D
analogous
#BA8DFD #F28DFD #FD8DD0
triadic
#F28DFD #FDF28D #8DFDF2
tetradic
#F28DFD #FDBA8D #98FD8D #8DD0FD
square
#F28DFD #FDBA8D #98FD8D #8DD0FD
split-complementary
#F28DFD #D0FD8D #8DFDBA
monochromatic
#E415FB #EB51FC #F28DFD #F9C9FE #FCE1FE

Accessibility & contrast

On white

2.10
#F28DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#F28DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DFD
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DFD#FFFFFF#000000##000000
##F28DFD1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#F69AB9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28dfd;
/* rgb */ color: rgb(242, 141, 253);
/* oklch */ color: oklch(78.9% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#f8b1fe',
    500: '#f28dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f28dfd;
$custom-light: #f8b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f28dfd",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 294.107,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78887,
    "c": 0.1846,
    "h": 323.5
  },
  "luminance": 0.45019
}

Semantic roles & 50–950 ramp

primary
#F28DFD
secondary
#D8F7D4
accent
#E60017
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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