#F278FB#F278FB

#F278FB is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.216 H 324.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#F278FB
RGBrgb(242, 120, 251)
HSLhsl(296, 94%, 73%)
HSVhsv(296, 52%, 98%)
CMYKcmyk(3.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(68.95, 64.51, -45.06)
CIE-LCHlch(68.95, 78.69, 325.07°)
OKLaboklab(75.93% 0.1761 -0.1243)
OKLCHoklch(75.93% 0.216 324.8)
XYZxyz(60.7455, 39.2784, 95.6299)
Luminance0.3927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278FB #81FB78
analogous
#B078FB #F278FB #FB78C2
triadic
#F278FB #FBF278 #78FBF2
tetradic
#F278FB #FBB078 #81FB78 #78C2FB
square
#F278FB #FBB078 #81FB78 #78C2FB
split-complementary
#F278FB #C2FB78 #78FBB0
monochromatic
#E107F1 #EC3DF9 #F278FB #F8B3FD #FCE1FE

Accessibility & contrast

On white

2.37
#F278FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#F278FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278FB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278FB#FFFFFF#000000##000000
##F278FB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#8DAEF7
Tritanopia (blue-blind)
#F788AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f278fb;
/* rgb */ color: rgb(242, 120, 251);
/* oklch */ color: oklch(75.9% 0.216 324.8);
Tailwind
colors: {
  custom: {
    50: '#f9a4fd',
    500: '#f278fb',
    950: '#000000',
  },
}
SCSS
$custom: #f278fb;
$custom-light: #f9a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f278fb",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 295.878,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75931,
    "c": 0.21558,
    "h": 324.8
  },
  "luminance": 0.39275
}

Semantic roles & 50–950 ramp

primary
#F278FB
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F278FB

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

Preview Lab → · Contrast checker → · Palette generator →

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