#F277FC#F277FC

#F277FC is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.9% C 0.218 H 324.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F277FC
RGBrgb(242, 119, 252)
HSLhsl(295, 96%, 73%)
HSVhsv(295, 53%, 99%)
CMYKcmyk(4%, 52.8%, 0%, 1.2%)
CIE-LABlab(68.83, 65.15, -45.81)
CIE-LCHlch(68.83, 79.64, 324.89°)
OKLaboklab(75.85% 0.1775 -0.1265)
OKLCHoklch(75.85% 0.218 324.5)
XYZxyz(60.7839, 39.1023, 96.4224)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277FC #81FC77
analogous
#B077FC #F277FC #FC77C3
triadic
#F277FC #FCF277 #77FCF2
tetradic
#F277FC #FCB077 #81FC77 #77C3FC
square
#F277FC #FCB077 #81FC77 #77C3FC
split-complementary
#F277FC #C3FC77 #77FCB0
monochromatic
#E105F3 #EC3BFB #F277FC #F8B3FD #FCE1FE

Accessibility & contrast

On white

2.38
#F277FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F277FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277FC
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277FC#FFFFFF#000000##000000
##F277FC1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#F788AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f277fc;
/* rgb */ color: rgb(242, 119, 252);
/* oklch */ color: oklch(75.9% 0.218 324.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3fe',
    500: '#f277fc',
    950: '#000000',
  },
}
SCSS
$custom: #f277fc;
$custom-light: #f9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f277fc",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 295.489,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75852,
    "c": 0.21796,
    "h": 324.5
  },
  "luminance": 0.39099
}

Semantic roles & 50–950 ramp

primary
#F277FC
secondary
#D7F7D4
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F277FC

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

Preview Lab → · Contrast checker → · Palette generator →

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