#F277DE#F277DE

#F277DE is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.5% C 0.193 H 333.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F277DE
RGBrgb(242, 119, 222)
HSLhsl(310, 83%, 71%)
HSVhsv(310, 51%, 95%)
CMYKcmyk(0%, 50.8%, 8.3%, 5.1%)
CIE-LABlab(67.54, 60.08, -31.28)
CIE-LCHlch(67.54, 67.74, 332.50°)
OKLaboklab(74.48% 0.173 -0.0849)
OKLCHoklch(74.48% 0.193 333.9)
XYZxyz(56.3996, 37.3486, 73.3315)
Luminance0.3735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DE #77F28B
analogous
#C877F2 #F277DE #F277A0
triadic
#F277DE #DEF277 #77DEF2
tetradic
#F277DE #F2C877 #77F28B #77A0F2
square
#F277DE #F2C877 #77F28B #77A0F2
split-complementary
#F277DE #A0F277 #77F2C8
monochromatic
#DA15BA #ED3FD0 #F277DE #F7AFEC #FCE3F8

Accessibility & contrast

On white

2.48
#F277DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F277DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DE#FFFFFF#000000##000000
##F277DE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E1
Deuteranopia (green-blind)
#99ABDB
Tritanopia (blue-blind)
#FC7EA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f277de;
/* rgb */ color: rgb(242, 119, 222);
/* oklch */ color: oklch(74.5% 0.193 333.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3e8',
    500: '#f277de',
    950: '#000000',
  },
}
SCSS
$custom: #f277de;
$custom-light: #f9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f277de",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 309.756,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74481,
    "c": 0.19269,
    "h": 333.9
  },
  "luminance": 0.37345
}

Semantic roles & 50–950 ramp

primary
#F277DE
secondary
#D2F3D7
accent
#DF2A07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277DE

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

Preview Lab → · Contrast checker → · Palette generator →

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