#F28AF9#F28AF9

#F28AF9 is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.3% C 0.186 H 324.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#F28AF9
RGBrgb(242, 138, 249)
HSLhsl(296, 90%, 76%)
HSVhsv(296, 45%, 98%)
CMYKcmyk(2.8%, 44.6%, 0%, 2.4%)
CIE-LABlab(72.16, 55.50, -38.96)
CIE-LCHlch(72.16, 67.81, 324.93°)
OKLaboklab(78.28% 0.1518 -0.1069)
OKLCHoklch(78.28% 0.186 324.8)
XYZxyz(62.8038, 43.8966, 94.7689)
Luminance0.4389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AF9 #91F98A
analogous
#BA8AF9 #F28AF9 #F98AC8
triadic
#F28AF9 #F9F28A #8AF9F2
tetradic
#F28AF9 #F9BA8A #91F98A #8AC8F9
square
#F28AF9 #F9BA8A #91F98A #8AC8F9
split-complementary
#F28AF9 #C8F98A #8AF9BA
monochromatic
#E516F3 #EC50F6 #F28AF9 #F8C4FC #FCE2FE

Accessibility & contrast

On white

2.15
#F28AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#F28AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AF9
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AF9#FFFFFF#000000##000000
##F28AF91.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#9BB5F6
Tritanopia (blue-blind)
#F796B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28af9;
/* rgb */ color: rgb(242, 138, 249);
/* oklch */ color: oklch(78.3% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#f8affb',
    500: '#f28af9',
    950: '#000000',
  },
}
SCSS
$custom: #f28af9;
$custom-light: #f8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#f28af9",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 296.216,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78276,
    "c": 0.18568,
    "h": 324.8
  },
  "luminance": 0.43894
}

Semantic roles & 50–950 ramp

primary
#F28AF9
secondary
#D7F6D5
accent
#E6000E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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