#F278FE#F278FE

#F278FE is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 76.1% C 0.218 H 323.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#F278FE
RGBrgb(242, 120, 254)
HSLhsl(295, 99%, 73%)
HSVhsv(295, 53%, 100%)
CMYKcmyk(4.7%, 52.8%, 0%, 0.4%)
CIE-LABlab(69.09, 65.05, -46.49)
CIE-LCHlch(69.09, 79.95, 324.45°)
OKLaboklab(76.08% 0.1765 -0.1284)
OKLCHoklch(76.08% 0.218 323.9)
XYZxyz(61.2222, 39.4690, 98.1402)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278FE #84FE78
analogous
#AF78FE #F278FE #FE78C7
triadic
#F278FE #FEF278 #78FEF2
tetradic
#F278FE #FEAF78 #84FE78 #78C7FE
square
#F278FE #FEAF78 #84FE78 #78C7FE
split-complementary
#F278FE #C7FE78 #78FEAF
monochromatic
#E402FA #EC3BFE #F278FE #F8B5FE #FCE1FF

Accessibility & contrast

On white

2.36
#F278FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#F278FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278FE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278FE#FFFFFF#000000##000000
##F278FE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#F689B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f278fe;
/* rgb */ color: rgb(242, 120, 254);
/* oklch */ color: oklch(76.1% 0.218 323.9);
Tailwind
colors: {
  custom: {
    50: '#f9a4ff',
    500: '#f278fe',
    950: '#000000',
  },
}
SCSS
$custom: #f278fe;
$custom-light: #f9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f278fe",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 294.627,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76076,
    "c": 0.21825,
    "h": 323.9
  },
  "luminance": 0.39466
}

Semantic roles & 50–950 ramp

primary
#F278FE
secondary
#D7F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F278FE

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

Preview Lab → · Contrast checker → · Palette generator →

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