#F28BF8#F28BF8

#F28BF8 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.4% C 0.183 H 325.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#F28BF8
RGBrgb(242, 139, 248)
HSLhsl(297, 89%, 76%)
HSVhsv(297, 44%, 97%)
CMYKcmyk(2.4%, 44%, 0%, 2.7%)
CIE-LABlab(72.31, 54.82, -38.18)
CIE-LCHlch(72.31, 66.81, 325.15°)
OKLaboklab(78.38% 0.1503 -0.1047)
OKLCHoklch(78.38% 0.183 325.1)
XYZxyz(62.7924, 44.1227, 93.9977)
Luminance0.4412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BF8 #91F88B
analogous
#BB8BF8 #F28BF8 #F88BC7
triadic
#F28BF8 #F8F28B #8BF8F2
tetradic
#F28BF8 #F8BB8B #91F88B #8BC7F8
square
#F28BF8 #F8BB8B #91F88B #8BC7F8
split-complementary
#F28BF8 #C7F88B #8BF8BB
monochromatic
#E518F1 #EC51F5 #F28BF8 #F8C5FB #FCE2FD

Accessibility & contrast

On white

2.14
#F28BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#F28BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BF8
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BF8#FFFFFF#000000##000000
##F28BF81.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#9CB6F5
Tritanopia (blue-blind)
#F797B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28bf8;
/* rgb */ color: rgb(242, 139, 248);
/* oklch */ color: oklch(78.4% 0.183 325.1);
Tailwind
colors: {
  custom: {
    50: '#f8affb',
    500: '#f28bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f28bf8;
$custom-light: #f8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bf8",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 296.697,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78375,
    "c": 0.18313,
    "h": 325.1
  },
  "luminance": 0.4412
}

Semantic roles & 50–950 ramp

primary
#F28BF8
secondary
#D7F5D6
accent
#E5000D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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