#F28EEE#F28EEE

#F28EEE is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.4% C 0.169 H 328.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#F28EEE
RGBrgb(242, 142, 238)
HSLhsl(302, 79%, 75%)
HSVhsv(302, 41%, 95%)
CMYKcmyk(0%, 41.3%, 1.7%, 5.1%)
CIE-LABlab(72.49, 51.54, -32.43)
CIE-LCHlch(72.49, 60.90, 327.82°)
OKLaboklab(78.38% 0.1441 -0.0884)
OKLCHoklch(78.38% 0.169 328.5)
XYZxyz(61.7226, 44.3993, 86.1911)
Luminance0.4440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EEE #8EF292
analogous
#C48EF2 #F28EEE #F28EBC
triadic
#F28EEE #EEF28E #8EEEF2
tetradic
#F28EEE #F2C48E #8EF292 #8EBCF2
square
#F28EEE #F2C48E #8EF292 #8EBCF2
split-complementary
#F28EEE #BCF28E #8EF2C4
monochromatic
#E520DD #EC57E6 #F28EEE #F8C5F6 #FCE4FB

Accessibility & contrast

On white

2.13
#F28EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#F28EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EEE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EEE#FFFFFF#000000##000000
##F28EEE1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#A3B7EB
Tritanopia (blue-blind)
#F897B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28eee;
/* rgb */ color: rgb(242, 142, 238);
/* oklch */ color: oklch(78.4% 0.169 328.5);
Tailwind
colors: {
  custom: {
    50: '#f8b1f3',
    500: '#f28eee',
    950: '#000000',
  },
}
SCSS
$custom: #f28eee;
$custom-light: #f8b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eee",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 302.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7838,
    "c": 0.16903,
    "h": 328.5
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F28EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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