#F28BEE#F28BEE

#F28BEE is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.9% C 0.174 H 328.5°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F28BEE
RGBrgb(242, 139, 238)
HSLhsl(302, 80%, 75%)
HSVhsv(302, 43%, 95%)
CMYKcmyk(0%, 42.6%, 1.7%, 5.1%)
CIE-LABlab(71.91, 53.05, -33.34)
CIE-LCHlch(71.91, 62.66, 327.85°)
OKLaboklab(77.94% 0.1483 -0.0909)
OKLCHoklch(77.94% 0.174 328.5)
XYZxyz(61.2822, 43.5186, 86.0443)
Luminance0.4352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BEE #8BF28F
analogous
#C38BF2 #F28BEE #F28BBB
triadic
#F28BEE #EEF28B #8BEEF2
tetradic
#F28BEE #F2C38B #8BF28F #8BBBF2
square
#F28BEE #F2C38B #8BF28F #8BBBF2
split-complementary
#F28BEE #BBF28B #8BF2C3
monochromatic
#E61DDE #EC54E6 #F28BEE #F8C2F6 #FCE3FB

Accessibility & contrast

On white

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

On black

9.70
#F28BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BEE
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BEE#FFFFFF#000000##000000
##F28BEE1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F1
Deuteranopia (green-blind)
#A0B5EB
Tritanopia (blue-blind)
#F894B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28bee;
/* rgb */ color: rgb(242, 139, 238);
/* oklch */ color: oklch(77.9% 0.174 328.5);
Tailwind
colors: {
  custom: {
    50: '#f8aff4',
    500: '#f28bee',
    950: '#000000',
  },
}
SCSS
$custom: #f28bee;
$custom-light: #f8aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bee",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 302.33,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7794,
    "c": 0.17399,
    "h": 328.5
  },
  "luminance": 0.43516
}

Semantic roles & 50–950 ramp

primary
#F28BEE
secondary
#D7F4D8
accent
#DC1209
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F28BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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