#F28AED#F28AED

#F28AED is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.8% C 0.175 H 328.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#F28AED
RGBrgb(242, 138, 237)
HSLhsl(303, 80%, 75%)
HSVhsv(303, 43%, 95%)
CMYKcmyk(0%, 43%, 2.1%, 5.1%)
CIE-LABlab(71.67, 53.37, -33.16)
CIE-LCHlch(71.67, 62.84, 328.15°)
OKLaboklab(77.75% 0.1495 -0.0904)
OKLCHoklch(77.75% 0.175 328.8)
XYZxyz(60.9916, 43.1718, 85.2247)
Luminance0.4317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AED #8AF28F
analogous
#C38AF2 #F28AED #F28AB9
triadic
#F28AED #EDF28A #8AEDF2
tetradic
#F28AED #F2C38A #8AF28F #8AB9F2
square
#F28AED #F2C38A #8AF28F #8AB9F2
split-complementary
#F28AED #B9F28A #8AF2C3
monochromatic
#E61CDC #EC53E5 #F28AED #F8C1F5 #FCE3FB

Accessibility & contrast

On white

2.18
#F28AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#F28AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AED
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AED#FFFFFF#000000##000000
##F28AED1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#A0B5EA
Tritanopia (blue-blind)
#F993B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28aed;
/* rgb */ color: rgb(242, 138, 237);
/* oklch */ color: oklch(77.8% 0.175 328.8);
Tailwind
colors: {
  custom: {
    50: '#f8aff3',
    500: '#f28aed',
    950: '#000000',
  },
}
SCSS
$custom: #f28aed;
$custom-light: #f8aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f28aed",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 302.885,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77752,
    "c": 0.17474,
    "h": 328.8
  },
  "luminance": 0.43169
}

Semantic roles & 50–950 ramp

primary
#F28AED
secondary
#D7F4D9
accent
#DC1309
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F28AED

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

Preview Lab → · Contrast checker → · Palette generator →

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