#F28AF3#F28AF3

#F28AF3 is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.0% C 0.180 H 326.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#F28AF3
RGBrgb(242, 138, 243)
HSLhsl(299, 81%, 75%)
HSVhsv(299, 43%, 95%)
CMYKcmyk(0.4%, 43.2%, 0%, 4.7%)
CIE-LABlab(71.91, 54.43, -36.07)
CIE-LCHlch(71.91, 65.29, 326.47°)
OKLaboklab(78.01% 0.1507 -0.0987)
OKLCHoklch(78.01% 0.18 326.8)
XYZxyz(61.8829, 43.5283, 89.9188)
Luminance0.4353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AF3 #8BF38A
analogous
#BE8AF3 #F28AF3 #F38ABF
triadic
#F28AF3 #F3F28A #8AF3F2
tetradic
#F28AF3 #F3BE8A #8BF38A #8ABFF3
square
#F28AF3 #F3BE8A #8BF38A #8ABFF3
split-complementary
#F28AF3 #BFF38A #8AF3BE
monochromatic
#E61BE8 #EC52ED #F28AF3 #F8C2F9 #FCE3FC

Accessibility & contrast

On white

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

On black

9.71
#F28AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AF3
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AF3#FFFFFF#000000##000000
##F28AF31.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F7
Deuteranopia (green-blind)
#9EB5F0
Tritanopia (blue-blind)
#F895B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28af3;
/* rgb */ color: rgb(242, 138, 243);
/* oklch */ color: oklch(78.0% 0.180 326.8);
Tailwind
colors: {
  custom: {
    50: '#f8aff7',
    500: '#f28af3',
    950: '#000000',
  },
}
SCSS
$custom: #f28af3;
$custom-light: #f8aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28af3",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 299.429,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.18015,
    "h": 326.8
  },
  "luminance": 0.43525
}

Semantic roles & 50–950 ramp

primary
#F28AF3
secondary
#D7F4D7
accent
#DE080A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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