#F28BFB#F28BFB

#F28BFB is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.5% C 0.186 H 324.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#F28BFB
RGBrgb(242, 139, 251)
HSLhsl(295, 93%, 76%)
HSVhsv(295, 45%, 98%)
CMYKcmyk(3.6%, 44.6%, 0%, 1.6%)
CIE-LABlab(72.44, 55.37, -39.62)
CIE-LCHlch(72.44, 68.08, 324.42°)
OKLaboklab(78.51% 0.1508 -0.1088)
OKLCHoklch(78.51% 0.186 324.2)
XYZxyz(63.2615, 44.3103, 96.4686)
Luminance0.4431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BFB #94FB8B
analogous
#BA8BFB #F28BFB #FB8BCC
triadic
#F28BFB #FBF28B #8BFBF2
tetradic
#F28BFB #FBBA8B #94FB8B #8BCCFB
square
#F28BFB #FBBA8B #94FB8B #8BCCFB
split-complementary
#F28BFB #CCFB8B #8BFBBA
monochromatic
#E515F7 #EB50F9 #F28BFB #F9C6FD #FCE1FE

Accessibility & contrast

On white

2.13
#F28BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#F28BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BFB
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BFB#FFFFFF#000000##000000
##F28BFB1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#F698B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28bfb;
/* rgb */ color: rgb(242, 139, 251);
/* oklch */ color: oklch(78.5% 0.186 324.2);
Tailwind
colors: {
  custom: {
    50: '#f8b0fd',
    500: '#f28bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f28bfb;
$custom-light: #f8b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bfb",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 295.179,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78509,
    "c": 0.18595,
    "h": 324.2
  },
  "luminance": 0.44308
}

Semantic roles & 50–950 ramp

primary
#F28BFB
secondary
#D8F6D5
accent
#E60012
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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