#F28EE2#F28EE2

#F28EE2 is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.9% C 0.159 H 333.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#F28EE2
RGBrgb(242, 142, 226)
HSLhsl(310, 79%, 75%)
HSVhsv(310, 41%, 95%)
CMYKcmyk(0%, 41.3%, 6.6%, 5.1%)
CIE-LABlab(72.04, 49.48, -26.56)
CIE-LCHlch(72.04, 56.16, 331.78°)
OKLaboklab(77.89% 0.1414 -0.0718)
OKLCHoklch(77.89% 0.159 333.1)
XYZxyz(60.0180, 43.7175, 77.2138)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EE2 #8EF29E
analogous
#D08EF2 #F28EE2 #F28EB0
triadic
#F28EE2 #E2F28E #8EE2F2
tetradic
#F28EE2 #F2D08E #8EF29E #8EB0F2
square
#F28EE2 #F2D08E #8EF29E #8EB0F2
split-complementary
#F28EE2 #B0F28E #8EF2D0
monochromatic
#E520C6 #EC57D4 #F28EE2 #F8C5F0 #FCE4F8

Accessibility & contrast

On white

2.16
#F28EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#F28EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EE2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EE2#FFFFFF#000000##000000
##F28EE21.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E5
Deuteranopia (green-blind)
#A7B6DF
Tritanopia (blue-blind)
#FA94AE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28ee2;
/* rgb */ color: rgb(242, 142, 226);
/* oklch */ color: oklch(77.9% 0.159 333.1);
Tailwind
colors: {
  custom: {
    50: '#f8b1eb',
    500: '#f28ee2',
    950: '#000000',
  },
}
SCSS
$custom: #f28ee2;
$custom-light: #f8b1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ee2",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 309.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77889,
    "c": 0.15856,
    "h": 333.1
  },
  "luminance": 0.43714
}

Semantic roles & 50–950 ramp

primary
#F28EE2
secondary
#D7F4DC
accent
#DC2B0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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