#F277E2#F277E2

#F277E2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.7% C 0.196 H 332.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F277E2
RGBrgb(242, 119, 226)
HSLhsl(308, 83%, 71%)
HSVhsv(308, 51%, 95%)
CMYKcmyk(0%, 50.8%, 6.6%, 5.1%)
CIE-LABlab(67.70, 60.73, -33.25)
CIE-LCHlch(67.70, 69.24, 331.30°)
OKLaboklab(74.65% 0.1737 -0.0905)
OKLCHoklch(74.65% 0.196 332.5)
XYZxyz(56.9421, 37.5656, 76.1885)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277E2 #77F287
analogous
#C477F2 #F277E2 #F277A4
triadic
#F277E2 #E2F277 #77E2F2
tetradic
#F277E2 #F2C477 #77F287 #77A4F2
square
#F277E2 #F2C477 #77F287 #77A4F2
split-complementary
#F277E2 #A4F277 #77F2C4
monochromatic
#DA15C0 #ED3FD6 #F277E2 #F7AFEE #FCE3F9

Accessibility & contrast

On white

2.47
#F277E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#F277E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277E2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277E2#FFFFFF#000000##000000
##F277E21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#FB80A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f277e2;
/* rgb */ color: rgb(242, 119, 226);
/* oklch */ color: oklch(74.7% 0.196 332.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3eb',
    500: '#f277e2',
    950: '#000000',
  },
}
SCSS
$custom: #f277e2;
$custom-light: #f9a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f277e2",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 307.805,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74653,
    "c": 0.19588,
    "h": 332.5
  },
  "luminance": 0.37562
}

Semantic roles & 50–950 ramp

primary
#F277E2
secondary
#D2F3D6
accent
#DF2307
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277E2

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

Preview Lab → · Contrast checker → · Palette generator →

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