#F28AE7#F28AE7

#F28AE7 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.5% C 0.169 H 331.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#F28AE7
RGBrgb(242, 138, 231)
HSLhsl(306, 80%, 75%)
HSVhsv(306, 43%, 95%)
CMYKcmyk(0%, 43%, 4.5%, 5.1%)
CIE-LABlab(71.44, 52.34, -30.23)
CIE-LCHlch(71.44, 60.44, 329.99°)
OKLaboklab(77.5% 0.1483 -0.0821)
OKLCHoklch(77.5% 0.169 331)
XYZxyz(60.1296, 42.8270, 80.6851)
Luminance0.4282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AE7 #8AF295
analogous
#C98AF2 #F28AE7 #F28AB3
triadic
#F28AE7 #E7F28A #8AE7F2
tetradic
#F28AE7 #F2C98A #8AF295 #8AB3F2
square
#F28AE7 #F2C98A #8AF295 #8AB3F2
split-complementary
#F28AE7 #B3F28A #8AF2C9
monochromatic
#E61CD0 #EC53DC #F28AE7 #F8C1F2 #FCE3F9

Accessibility & contrast

On white

2.20
#F28AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#F28AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AE7
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AE7#FFFFFF#000000##000000
##F28AE71.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EA
Deuteranopia (green-blind)
#A2B4E4
Tritanopia (blue-blind)
#FA91AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28ae7;
/* rgb */ color: rgb(242, 138, 231);
/* oklch */ color: oklch(77.5% 0.169 331.0);
Tailwind
colors: {
  custom: {
    50: '#f8afef',
    500: '#f28ae7',
    950: '#000000',
  },
}
SCSS
$custom: #f28ae7;
$custom-light: #f8afef;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ae7",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 306.346,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.775,
    "c": 0.16949,
    "h": 331
  },
  "luminance": 0.42824
}

Semantic roles & 50–950 ramp

primary
#F28AE7
secondary
#D7F4DA
accent
#DC2009
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #F28AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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