#F277FA#F277FA

#F277FA is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.8% C 0.216 H 325.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#F277FA
RGBrgb(242, 119, 250)
HSLhsl(296, 93%, 72%)
HSVhsv(296, 52%, 98%)
CMYKcmyk(3.2%, 52.4%, 0%, 2%)
CIE-LABlab(68.73, 64.80, -44.86)
CIE-LCHlch(68.73, 78.81, 325.31°)
OKLaboklab(75.76% 0.1773 -0.1237)
OKLCHoklch(75.76% 0.216 325.1)
XYZxyz(60.4687, 38.9762, 94.7620)
Luminance0.3897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277FA #7FFA77
analogous
#B177FA #F277FA #FA77C0
triadic
#F277FA #FAF277 #77FAF2
tetradic
#F277FA #FAB177 #7FFA77 #77C0FA
square
#F277FA #FAB177 #7FFA77 #77C0FA
split-complementary
#F277FA #C0FA77 #77FAB1
monochromatic
#E009EE #EC3CF8 #F277FA #F8B2FC #FCE1FE

Accessibility & contrast

On white

2.39
#F277FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#F277FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277FA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277FA#FFFFFF#000000##000000
##F277FA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#F787AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f277fa;
/* rgb */ color: rgb(242, 119, 250);
/* oklch */ color: oklch(75.8% 0.216 325.1);
Tailwind
colors: {
  custom: {
    50: '#f9a3fc',
    500: '#f277fa',
    950: '#000000',
  },
}
SCSS
$custom: #f277fa;
$custom-light: #f9a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f277fa",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 296.336,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75755,
    "c": 0.21619,
    "h": 325.1
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#F277FA
secondary
#D7F6D5
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F277FA

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

Preview Lab → · Contrast checker → · Palette generator →

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