#F277EF#F277EF

#F277EF is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.2% C 0.207 H 328.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#F277EF
RGBrgb(242, 119, 239)
HSLhsl(301, 83%, 71%)
HSVhsv(301, 51%, 95%)
CMYKcmyk(0%, 50.8%, 1.2%, 5.1%)
CIE-LABlab(68.25, 62.90, -39.58)
CIE-LCHlch(68.25, 74.31, 327.82°)
OKLaboklab(75.24% 0.1758 -0.1086)
OKLCHoklch(75.24% 0.207 328.3)
XYZxyz(58.7939, 38.3063, 85.9417)
Luminance0.3830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277EF #77F27A
analogous
#B777F2 #F277EF #F277B2
triadic
#F277EF #EFF277 #77EFF2
tetradic
#F277EF #F2B777 #77F27A #77B2F2
square
#F277EF #F2B777 #77F27A #77B2F2
split-complementary
#F277EF #B2F277 #77F2B7
monochromatic
#DA15D5 #ED3FE8 #F277EF #F7AFF6 #FCE3FC

Accessibility & contrast

On white

2.42
#F277EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#F277EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277EF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277EF#FFFFFF#000000##000000
##F277EF1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#F984A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f277ef;
/* rgb */ color: rgb(242, 119, 239);
/* oklch */ color: oklch(75.2% 0.207 328.3);
Tailwind
colors: {
  custom: {
    50: '#f9a3f4',
    500: '#f277ef',
    950: '#000000',
  },
}
SCSS
$custom: #f277ef;
$custom-light: #f9a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f277ef",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 301.463,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75236,
    "c": 0.20665,
    "h": 328.3
  },
  "luminance": 0.38303
}

Semantic roles & 50–950 ramp

primary
#F277EF
secondary
#D2F3D3
accent
#DF0C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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