#F28EEF#F28EEF

#F28EEF is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.4% C 0.170 H 328.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#F28EEF
RGBrgb(242, 142, 239)
HSLhsl(302, 79%, 75%)
HSVhsv(302, 41%, 95%)
CMYKcmyk(0%, 41.3%, 1.2%, 5.1%)
CIE-LABlab(72.53, 51.72, -32.92)
CIE-LCHlch(72.53, 61.31, 327.52°)
OKLaboklab(78.42% 0.1443 -0.0897)
OKLCHoklch(78.42% 0.17 328.1)
XYZxyz(61.8699, 44.4583, 86.9670)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EEF #8EF291
analogous
#C38EF2 #F28EEF #F28EBD
triadic
#F28EEF #EFF28E #8EEFF2
tetradic
#F28EEF #F2C38E #8EF291 #8EBDF2
square
#F28EEF #F2C38E #8EF291 #8EBDF2
split-complementary
#F28EEF #BDF28E #8EF2C3
monochromatic
#E520DF #EC57E7 #F28EEF #F8C5F7 #FCE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F28EEF#FFFFFF#000000##000000
##F28EEF1.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)
#87AAF2
Deuteranopia (green-blind)
#A2B7EC
Tritanopia (blue-blind)
#F897B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28eef;
/* rgb */ color: rgb(242, 142, 239);
/* oklch */ color: oklch(78.4% 0.170 328.1);
Tailwind
colors: {
  custom: {
    50: '#f8b1f4',
    500: '#f28eef',
    950: '#000000',
  },
}
SCSS
$custom: #f28eef;
$custom-light: #f8b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28eef",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 301.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78422,
    "c": 0.16993,
    "h": 328.1
  },
  "luminance": 0.44455
}

Semantic roles & 50–950 ramp

primary
#F28EEF
secondary
#D7F4D8
accent
#DC100A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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