#F277F2#F277F2

#F277F2 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.209 H 327.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F277F2
RGBrgb(242, 119, 242)
HSLhsl(300, 83%, 71%)
HSVhsv(300, 51%, 95%)
CMYKcmyk(0%, 50.8%, 0%, 5.1%)
CIE-LABlab(68.38, 63.41, -41.03)
CIE-LCHlch(68.38, 75.52, 327.10°)
OKLaboklab(75.38% 0.1763 -0.1127)
OKLCHoklch(75.38% 0.209 327.4)
XYZxyz(59.2408, 38.4851, 88.2952)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277F2 #77F277
analogous
#B477F2 #F277F2 #F277B4
triadic
#F277F2 #F2F277 #77F2F2
tetradic
#F277F2 #F2B477 #77F277 #77B4F2
square
#F277F2 #F2B477 #77F277 #77B4F2
split-complementary
#F277F2 #B4F277 #77F2B4
monochromatic
#DA15DA #ED3FED #F277F2 #F7AFF7 #FCE3FC

Accessibility & contrast

On white

2.41
#F277F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#F277F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277F2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277F2#FFFFFF#000000##000000
##F277F21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F885AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f277f2;
/* rgb */ color: rgb(242, 119, 242);
/* oklch */ color: oklch(75.4% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#f9a3f6',
    500: '#f277f2',
    950: '#000000',
  },
}
SCSS
$custom: #f277f2;
$custom-light: #f9a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f277f2",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75375,
    "c": 0.20922,
    "h": 327.4
  },
  "luminance": 0.38482
}

Semantic roles & 50–950 ramp

primary
#F277F2
secondary
#D2F3D2
accent
#DF0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F277F2

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

Preview Lab → · Contrast checker → · Palette generator →

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