#F28DEB#F28DEB

#F28DEB is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.1% C 0.168 H 329.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#F28DEB
RGBrgb(242, 141, 235)
HSLhsl(304, 80%, 75%)
HSVhsv(304, 42%, 95%)
CMYKcmyk(0%, 41.7%, 2.9%, 5.1%)
CIE-LABlab(72.18, 51.52, -31.28)
CIE-LCHlch(72.18, 60.27, 328.74°)
OKLaboklab(78.11% 0.1449 -0.0851)
OKLCHoklch(78.11% 0.168 329.6)
XYZxyz(61.1374, 43.9283, 83.8398)
Luminance0.4392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DEB #8DF294
analogous
#C68DF2 #F28DEB #F28DB9
triadic
#F28DEB #EBF28D #8DEBF2
tetradic
#F28DEB #F2C68D #8DF294 #8DB9F2
square
#F28DEB #F2C68D #8DF294 #8DB9F2
split-complementary
#F28DEB #B9F28D #8DF2C6
monochromatic
#E51FD8 #EC56E1 #F28DEB #F8C4F5 #FCE4FA

Accessibility & contrast

On white

2.15
#F28DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#F28DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DEB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DEB#FFFFFF#000000##000000
##F28DEB1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#F995B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28deb;
/* rgb */ color: rgb(242, 141, 235);
/* oklch */ color: oklch(78.1% 0.168 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8b1f1',
    500: '#f28deb',
    950: '#000000',
  },
}
SCSS
$custom: #f28deb;
$custom-light: #f8b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28deb",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 304.158,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78107,
    "c": 0.16801,
    "h": 329.6
  },
  "luminance": 0.43925
}

Semantic roles & 50–950 ramp

primary
#F28DEB
secondary
#D7F4D9
accent
#DC180A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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