#F277E5#F277E5

#F277E5 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.8% C 0.198 H 331.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F277E5
RGBrgb(242, 119, 229)
HSLhsl(306, 83%, 71%)
HSVhsv(306, 51%, 95%)
CMYKcmyk(0%, 50.8%, 5.4%, 5.1%)
CIE-LABlab(67.82, 61.22, -34.72)
CIE-LCHlch(67.82, 70.38, 330.44°)
OKLaboklab(74.79% 0.1742 -0.0947)
OKLCHoklch(74.79% 0.198 331.5)
XYZxyz(57.3573, 37.7317, 78.3754)
Luminance0.3773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277E5 #77F284
analogous
#C177F2 #F277E5 #F277A8
triadic
#F277E5 #E5F277 #77E5F2
tetradic
#F277E5 #F2C177 #77F284 #77A8F2
square
#F277E5 #F2C177 #77F284 #77A8F2
split-complementary
#F277E5 #A8F277 #77F2C1
monochromatic
#DA15C5 #ED3FDA #F277E5 #F7AFF0 #FCE3FA

Accessibility & contrast

On white

2.46
#F277E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#F277E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277E5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277E5#FFFFFF#000000##000000
##F277E51.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE9
Deuteranopia (green-blind)
#96ACE1
Tritanopia (blue-blind)
#FB81A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f277e5;
/* rgb */ color: rgb(242, 119, 229);
/* oklch */ color: oklch(74.8% 0.198 331.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3ed',
    500: '#f277e5',
    950: '#000000',
  },
}
SCSS
$custom: #f277e5;
$custom-light: #f9a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f277e5",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 229
  },
  "hsl": {
    "h": 306.341,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74785,
    "c": 0.19831,
    "h": 331.5
  },
  "luminance": 0.37728
}

Semantic roles & 50–950 ramp

primary
#F277E5
secondary
#D2F3D5
accent
#DF1D07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277E5

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

Preview Lab → · Contrast checker → · Palette generator →

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