#F277EA#F277EA

#F277EA is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.0% C 0.202 H 329.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F277EA
RGBrgb(242, 119, 234)
HSLhsl(304, 83%, 71%)
HSVhsv(304, 51%, 95%)
CMYKcmyk(0%, 50.8%, 3.3%, 5.1%)
CIE-LABlab(68.03, 62.05, -37.16)
CIE-LCHlch(68.03, 72.33, 329.09°)
OKLaboklab(75.01% 0.1751 -0.1016)
OKLCHoklch(75.01% 0.202 329.9)
XYZxyz(58.0655, 38.0149, 82.1052)
Luminance0.3801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277EA #77F27F
analogous
#BC77F2 #F277EA #F277AD
triadic
#F277EA #EAF277 #77EAF2
tetradic
#F277EA #F2BC77 #77F27F #77ADF2
square
#F277EA #F2BC77 #77F27F #77ADF2
split-complementary
#F277EA #ADF277 #77F2BC
monochromatic
#DA15CD #ED3FE1 #F277EA #F7AFF3 #FCE3FB

Accessibility & contrast

On white

2.44
#F277EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F277EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277EA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277EA#FFFFFF#000000##000000
##F277EA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#94ACE6
Tritanopia (blue-blind)
#FA82A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f277ea;
/* rgb */ color: rgb(242, 119, 234);
/* oklch */ color: oklch(75.0% 0.202 329.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3f1',
    500: '#f277ea',
    950: '#000000',
  },
}
SCSS
$custom: #f277ea;
$custom-light: #f9a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f277ea",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 303.902,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75008,
    "c": 0.20244,
    "h": 329.9
  },
  "luminance": 0.38011
}

Semantic roles & 50–950 ramp

primary
#F277EA
secondary
#D2F3D4
accent
#DF1507
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277EA

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

Preview Lab → · Contrast checker → · Palette generator →

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