#F28DEE#F28DEE

#F28DEE is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.2% C 0.171 H 328.5°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#F28DEE
RGBrgb(242, 141, 238)
HSLhsl(302, 80%, 75%)
HSVhsv(302, 42%, 95%)
CMYKcmyk(0%, 41.7%, 1.7%, 5.1%)
CIE-LABlab(72.30, 52.05, -32.74)
CIE-LCHlch(72.30, 61.49, 327.83°)
OKLaboklab(78.23% 0.1455 -0.0892)
OKLCHoklch(78.23% 0.171 328.5)
XYZxyz(61.5745, 44.1031, 86.1417)
Luminance0.4410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DEE #8DF291
analogous
#C38DF2 #F28DEE #F28DBC
triadic
#F28DEE #EEF28D #8DEEF2
tetradic
#F28DEE #F2C38D #8DF291 #8DBCF2
square
#F28DEE #F2C38D #8DF291 #8DBCF2
split-complementary
#F28DEE #BCF28D #8DF2C3
monochromatic
#E51FDE #EC56E6 #F28DEE #F8C4F6 #FCE4FB

Accessibility & contrast

On white

2.14
#F28DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#F28DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DEE
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DEE#FFFFFF#000000##000000
##F28DEE1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#A2B6EB
Tritanopia (blue-blind)
#F896B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28dee;
/* rgb */ color: rgb(242, 141, 238);
/* oklch */ color: oklch(78.2% 0.171 328.5);
Tailwind
colors: {
  custom: {
    50: '#f8b1f3',
    500: '#f28dee',
    950: '#000000',
  },
}
SCSS
$custom: #f28dee;
$custom-light: #f8b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28dee",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 302.376,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78233,
    "c": 0.17069,
    "h": 328.5
  },
  "luminance": 0.441
}

Semantic roles & 50–950 ramp

primary
#F28DEE
secondary
#D7F4D8
accent
#DC120A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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