#F28AEC#F28AEC

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

Color values

HEX#F28AEC
RGBrgb(242, 138, 236)
HSLhsl(303, 80%, 75%)
HSVhsv(303, 43%, 95%)
CMYKcmyk(0%, 43%, 2.5%, 5.1%)
CIE-LABlab(71.63, 53.20, -32.67)
CIE-LCHlch(71.63, 62.43, 328.44°)
OKLaboklab(77.71% 0.1493 -0.089)
OKLCHoklch(77.71% 0.174 329.2)
XYZxyz(60.8459, 43.1135, 84.4574)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AEC #8AF290
analogous
#C48AF2 #F28AEC #F28AB8
triadic
#F28AEC #ECF28A #8AECF2
tetradic
#F28AEC #F2C48A #8AF290 #8AB8F2
square
#F28AEC #F2C48A #8AF290 #8AB8F2
split-complementary
#F28AEC #B8F28A #8AF2C4
monochromatic
#E61CDA #EC53E3 #F28AEC #F8C1F5 #FCE3FB

Accessibility & contrast

On white

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

On black

9.62
#F28AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AEC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AEC#FFFFFF#000000##000000
##F28AEC1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#A0B5E9
Tritanopia (blue-blind)
#F993B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28aec;
/* rgb */ color: rgb(242, 138, 236);
/* oklch */ color: oklch(77.7% 0.174 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8aff2',
    500: '#f28aec',
    950: '#000000',
  },
}
SCSS
$custom: #f28aec;
$custom-light: #f8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f28aec",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 303.462,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.17385,
    "h": 329.2
  },
  "luminance": 0.4311
}

Semantic roles & 50–950 ramp

primary
#F28AEC
secondary
#D7F4D9
accent
#DC1509
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F28AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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