#F28FF5#F28FF5

#F28FF5 is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.8% C 0.174 H 326.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#F28FF5
RGBrgb(242, 143, 245)
HSLhsl(298, 84%, 76%)
HSVhsv(298, 42%, 96%)
CMYKcmyk(1.2%, 41.6%, 0%, 3.9%)
CIE-LABlab(72.97, 52.28, -35.52)
CIE-LCHlch(72.97, 63.20, 325.81°)
OKLaboklab(78.83% 0.1441 -0.0971)
OKLCHoklch(78.83% 0.174 326)
XYZxyz(62.9205, 45.1176, 91.7628)
Luminance0.4511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FF5 #92F58F
analogous
#BF8FF5 #F28FF5 #F58FC5
triadic
#F28FF5 #F5F28F #8FF5F2
tetradic
#F28FF5 #F5BF8F #92F58F #8FC5F5
square
#F28FF5 #F5BF8F #92F58F #8FC5F5
split-complementary
#F28FF5 #C5F58F #8FF5BF
monochromatic
#E51FEB #EB57F0 #F28FF5 #F9C7FA #FCE3FC

Accessibility & contrast

On white

2.10
#F28FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#F28FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FF5
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FF5#FFFFFF#000000##000000
##F28FF51.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ABF9
Deuteranopia (green-blind)
#A1B8F2
Tritanopia (blue-blind)
#F799B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28ff5;
/* rgb */ color: rgb(242, 143, 245);
/* oklch */ color: oklch(78.8% 0.174 326.0);
Tailwind
colors: {
  custom: {
    50: '#f8b2f8',
    500: '#f28ff5',
    950: '#000000',
  },
}
SCSS
$custom: #f28ff5;
$custom-light: #f8b2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ff5",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 298.235,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.17379,
    "h": 326
  },
  "luminance": 0.45115
}

Semantic roles & 50–950 ramp

primary
#F28FF5
secondary
#D7F4D7
accent
#E0050C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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