#F28AEB#F28AEB

#F28AEB is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.173 H 329.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#F28AEB
RGBrgb(242, 138, 235)
HSLhsl(304, 80%, 75%)
HSVhsv(304, 43%, 95%)
CMYKcmyk(0%, 43%, 2.9%, 5.1%)
CIE-LABlab(71.59, 53.03, -32.19)
CIE-LCHlch(71.59, 62.03, 328.74°)
OKLaboklab(77.67% 0.1491 -0.0876)
OKLCHoklch(77.67% 0.173 329.6)
XYZxyz(60.7010, 43.0555, 83.6944)
Luminance0.4305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AEB #8AF291
analogous
#C58AF2 #F28AEB #F28AB7
triadic
#F28AEB #EBF28A #8AEBF2
tetradic
#F28AEB #F2C58A #8AF291 #8AB7F2
square
#F28AEB #F2C58A #8AF291 #8AB7F2
split-complementary
#F28AEB #B7F28A #8AF2C5
monochromatic
#E61CD8 #EC53E2 #F28AEB #F8C1F4 #FCE3FA

Accessibility & contrast

On white

2.19
#F28AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#F28AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AEB
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AEB#FFFFFF#000000##000000
##F28AEB1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EE
Deuteranopia (green-blind)
#A1B4E8
Tritanopia (blue-blind)
#F992B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28aeb;
/* rgb */ color: rgb(242, 138, 235);
/* oklch */ color: oklch(77.7% 0.173 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8aff1',
    500: '#f28aeb',
    950: '#000000',
  },
}
SCSS
$custom: #f28aeb;
$custom-light: #f8aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28aeb",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 304.038,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77667,
    "c": 0.17297,
    "h": 329.6
  },
  "luminance": 0.43052
}

Semantic roles & 50–950 ramp

primary
#F28AEB
secondary
#D7F4D9
accent
#DC1709
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F28AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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