#F278FC#F278FC

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

Color values

HEX#F278FC
RGBrgb(242, 120, 252)
HSLhsl(295, 96%, 73%)
HSVhsv(295, 52%, 99%)
CMYKcmyk(4%, 52.4%, 0%, 1.2%)
CIE-LABlab(69.00, 64.69, -45.54)
CIE-LCHlch(69.00, 79.11, 324.86°)
OKLaboklab(75.98% 0.1762 -0.1257)
OKLCHoklch(75.98% 0.216 324.5)
XYZxyz(60.9036, 39.3416, 96.4623)
Luminance0.3934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278FC #82FC78
analogous
#B078FC #F278FC #FC78C4
triadic
#F278FC #FCF278 #78FCF2
tetradic
#F278FC #FCB078 #82FC78 #78C4FC
square
#F278FC #FCB078 #82FC78 #78C4FC
split-complementary
#F278FC #C4FC78 #78FCB0
monochromatic
#E205F4 #EC3CFB #F278FC #F8B4FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.87
#F278FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278FC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278FC#FFFFFF#000000##000000
##F278FC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#F789AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f278fc;
/* rgb */ color: rgb(242, 120, 252);
/* oklch */ color: oklch(76.0% 0.216 324.5);
Tailwind
colors: {
  custom: {
    50: '#f9a4fe',
    500: '#f278fc',
    950: '#000000',
  },
}
SCSS
$custom: #f278fc;
$custom-light: #f9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f278fc",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 295.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75979,
    "c": 0.21647,
    "h": 324.5
  },
  "luminance": 0.39338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F278FC

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

Preview Lab → · Contrast checker → · Palette generator →

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