#F278FA#F278FA

#F278FA is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.9% C 0.215 H 325.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F278FA
RGBrgb(242, 120, 250)
HSLhsl(296, 93%, 73%)
HSVhsv(296, 52%, 98%)
CMYKcmyk(3.2%, 52%, 0%, 2%)
CIE-LABlab(68.91, 64.34, -44.59)
CIE-LCHlch(68.91, 78.28, 325.28°)
OKLaboklab(75.88% 0.176 -0.123)
OKLCHoklch(75.88% 0.215 325.1)
XYZxyz(60.5883, 39.2155, 94.8019)
Luminance0.3921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278FA #80FA78
analogous
#B178FA #F278FA #FA78C1
triadic
#F278FA #FAF278 #78FAF2
tetradic
#F278FA #FAB178 #80FA78 #78C1FA
square
#F278FA #FAB178 #80FA78 #78C1FA
split-complementary
#F278FA #C1FA78 #78FAB1
monochromatic
#E109EF #EC3DF8 #F278FA #F8B3FC #FCE1FE

Accessibility & contrast

On white

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

On black

8.84
#F278FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278FA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278FA#FFFFFF#000000##000000
##F278FA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFE
Deuteranopia (green-blind)
#8EADF6
Tritanopia (blue-blind)
#F788AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f278fa;
/* rgb */ color: rgb(242, 120, 250);
/* oklch */ color: oklch(75.9% 0.215 325.1);
Tailwind
colors: {
  custom: {
    50: '#f9a4fc',
    500: '#f278fa',
    950: '#000000',
  },
}
SCSS
$custom: #f278fa;
$custom-light: #f9a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f278fa",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 296.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75882,
    "c": 0.2147,
    "h": 325.1
  },
  "luminance": 0.39212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F278FA

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

Preview Lab → · Contrast checker → · Palette generator →

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