#F28BF3#F28BF3

#F28BF3 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.2% C 0.179 H 326.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#F28BF3
RGBrgb(242, 139, 243)
HSLhsl(299, 81%, 75%)
HSVhsv(299, 43%, 95%)
CMYKcmyk(0.4%, 42.8%, 0%, 4.7%)
CIE-LABlab(72.11, 53.93, -35.77)
CIE-LCHlch(72.11, 64.71, 326.45°)
OKLaboklab(78.16% 0.1493 -0.0978)
OKLCHoklch(78.16% 0.179 326.8)
XYZxyz(62.0270, 43.8165, 89.9669)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BF3 #8CF38B
analogous
#BE8BF3 #F28BF3 #F38BC0
triadic
#F28BF3 #F3F28B #8BF3F2
tetradic
#F28BF3 #F3BE8B #8CF38B #8BC0F3
square
#F28BF3 #F3BE8B #8CF38B #8BC0F3
split-complementary
#F28BF3 #C0F38B #8BF3BE
monochromatic
#E61CE8 #EC54ED #F28BF3 #F8C2F9 #FCE3FC

Accessibility & contrast

On white

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

On black

9.76
#F28BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BF3
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BF3#FFFFFF#000000##000000
##F28BF31.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F7
Deuteranopia (green-blind)
#9EB5F0
Tritanopia (blue-blind)
#F896B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28bf3;
/* rgb */ color: rgb(242, 139, 243);
/* oklch */ color: oklch(78.2% 0.179 326.8);
Tailwind
colors: {
  custom: {
    50: '#f8aff7',
    500: '#f28bf3',
    950: '#000000',
  },
}
SCSS
$custom: #f28bf3;
$custom-light: #f8aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bf3",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 299.423,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78155,
    "c": 0.17851,
    "h": 326.8
  },
  "luminance": 0.43814
}

Semantic roles & 50–950 ramp

primary
#F28BF3
secondary
#D7F4D7
accent
#DE080A
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F28BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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