#F28BFA#F28BFA

#F28BFA is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.5% C 0.185 H 324.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#F28BFA
RGBrgb(242, 139, 250)
HSLhsl(296, 92%, 76%)
HSVhsv(296, 44%, 98%)
CMYKcmyk(3.2%, 44.4%, 0%, 2%)
CIE-LABlab(72.39, 55.18, -39.14)
CIE-LCHlch(72.39, 67.65, 324.66°)
OKLaboklab(78.46% 0.1506 -0.1074)
OKLCHoklch(78.46% 0.185 324.5)
XYZxyz(63.1043, 44.2475, 95.6406)
Luminance0.4425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BFA #93FA8B
analogous
#BB8BFA #F28BFA #FA8BCB
triadic
#F28BFA #FAF28B #8BFAF2
tetradic
#F28BFA #FABB8B #93FA8B #8BCBFA
square
#F28BFA #FABB8B #93FA8B #8BCBFA
split-complementary
#F28BFA #CBFA8B #8BFABB
monochromatic
#E516F5 #EB50F7 #F28BFA #F9C6FD #FCE2FE

Accessibility & contrast

On white

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

On black

9.85
#F28BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BFA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BFA#FFFFFF#000000##000000
##F28BFA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28bfa;
/* rgb */ color: rgb(242, 139, 250);
/* oklch */ color: oklch(78.5% 0.185 324.5);
Tailwind
colors: {
  custom: {
    50: '#f8b0fc',
    500: '#f28bfa',
    950: '#000000',
  },
}
SCSS
$custom: #f28bfa;
$custom-light: #f8b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bfa",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 295.676,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78464,
    "c": 0.185,
    "h": 324.5
  },
  "luminance": 0.44245
}

Semantic roles & 50–950 ramp

primary
#F28BFA
secondary
#D7F6D5
accent
#E60011
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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