#F28BFD#F28BFD

#F28BFD is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.6% C 0.188 H 323.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#F28BFD
RGBrgb(242, 139, 253)
HSLhsl(294, 97%, 77%)
HSVhsv(294, 45%, 99%)
CMYKcmyk(4.3%, 45.1%, 0%, 0.8%)
CIE-LABlab(72.52, 55.73, -40.57)
CIE-LCHlch(72.52, 68.93, 323.95°)
OKLaboklab(78.6% 0.1511 -0.1116)
OKLCHoklch(78.6% 0.188 323.6)
XYZxyz(63.5784, 44.4371, 98.1377)
Luminance0.4443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BFD #96FD8B
analogous
#B98BFD #F28BFD #FD8BCF
triadic
#F28BFD #FDF28B #8BFDF2
tetradic
#F28BFD #FDB98B #96FD8B #8BCFFD
square
#F28BFD #FDB98B #96FD8B #8BCFFD
split-complementary
#F28BFD #CFFD8B #8BFDB9
monochromatic
#E513FB #EB4FFC #F28BFD #F9C7FE #FCE1FE

Accessibility & contrast

On white

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

On black

9.89
#F28BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BFD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BFD#FFFFFF#000000##000000
##F28BFD1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#F698B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28bfd;
/* rgb */ color: rgb(242, 139, 253);
/* oklch */ color: oklch(78.6% 0.188 323.6);
Tailwind
colors: {
  custom: {
    50: '#f8b0fe',
    500: '#f28bfd',
    950: '#000000',
  },
}
SCSS
$custom: #f28bfd;
$custom-light: #f8b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bfd",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 294.211,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78599,
    "c": 0.18784,
    "h": 323.6
  },
  "luminance": 0.44434
}

Semantic roles & 50–950 ramp

primary
#F28BFD
secondary
#D8F7D4
accent
#E60016
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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