#F28BFC#F28BFC

#F28BFC is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.6% C 0.187 H 323.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#F28BFC
RGBrgb(242, 139, 252)
HSLhsl(295, 95%, 77%)
HSVhsv(295, 45%, 99%)
CMYKcmyk(4%, 44.8%, 0%, 1.2%)
CIE-LABlab(72.48, 55.55, -40.09)
CIE-LCHlch(72.48, 68.51, 324.18°)
OKLaboklab(78.55% 0.151 -0.1102)
OKLCHoklch(78.55% 0.187 323.9)
XYZxyz(63.4196, 44.3736, 97.3009)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BFC #95FC8B
analogous
#BA8BFC #F28BFC #FC8BCE
triadic
#F28BFC #FCF28B #8BFCF2
tetradic
#F28BFC #FCBA8B #95FC8B #8BCEFC
square
#F28BFC #FCBA8B #95FC8B #8BCEFC
split-complementary
#F28BFC #CEFC8B #8BFCBA
monochromatic
#E514F9 #EB4FFA #F28BFC #F9C7FE #FCE1FE

Accessibility & contrast

On white

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

On black

9.87
#F28BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BFC
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BFC#FFFFFF#000000##000000
##F28BFC1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28bfc;
/* rgb */ color: rgb(242, 139, 252);
/* oklch */ color: oklch(78.6% 0.187 323.9);
Tailwind
colors: {
  custom: {
    50: '#f8b0fd',
    500: '#f28bfc',
    950: '#000000',
  },
}
SCSS
$custom: #f28bfc;
$custom-light: #f8b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28bfc",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 294.69,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78554,
    "c": 0.18689,
    "h": 323.9
  },
  "luminance": 0.44371
}

Semantic roles & 50–950 ramp

primary
#F28BFC
secondary
#D8F6D5
accent
#E60014
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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