#F28AF4#F28AF4

#F28AF4 is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.1% C 0.181 H 326.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#F28AF4
RGBrgb(242, 138, 244)
HSLhsl(299, 83%, 75%)
HSVhsv(299, 43%, 96%)
CMYKcmyk(0.8%, 43.4%, 0%, 4.3%)
CIE-LABlab(71.95, 54.60, -36.55)
CIE-LCHlch(71.95, 65.71, 326.20°)
OKLaboklab(78.05% 0.1509 -0.1)
OKLCHoklch(78.05% 0.181 326.5)
XYZxyz(62.0343, 43.5889, 90.7163)
Luminance0.4359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AF4 #8CF48A
analogous
#BD8AF4 #F28AF4 #F48AC1
triadic
#F28AF4 #F4F28A #8AF4F2
tetradic
#F28AF4 #F4BD8A #8CF48A #8AC1F4
square
#F28AF4 #F4BD8A #8CF48A #8AC1F4
split-complementary
#F28AF4 #C1F48A #8AF4BD
monochromatic
#E61AE9 #EC52EF #F28AF4 #F8C2F9 #FCE3FC

Accessibility & contrast

On white

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

On black

9.72
#F28AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AF4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AF4#FFFFFF#000000##000000
##F28AF41.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F8
Deuteranopia (green-blind)
#9DB5F1
Tritanopia (blue-blind)
#F795B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28af4;
/* rgb */ color: rgb(242, 138, 244);
/* oklch */ color: oklch(78.1% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#f8aff8',
    500: '#f28af4',
    950: '#000000',
  },
}
SCSS
$custom: #f28af4;
$custom-light: #f8aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#f28af4",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 298.868,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78054,
    "c": 0.18106,
    "h": 326.5
  },
  "luminance": 0.43586
}

Semantic roles & 50–950 ramp

primary
#F28AF4
secondary
#D7F4D7
accent
#DF060A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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