#F277DF#F277DF

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

Color values

HEX#F277DF
RGBrgb(242, 119, 223)
HSLhsl(309, 83%, 71%)
HSVhsv(309, 51%, 95%)
CMYKcmyk(0%, 50.8%, 7.9%, 5.1%)
CIE-LABlab(67.58, 60.25, -31.77)
CIE-LCHlch(67.58, 68.11, 332.19°)
OKLaboklab(74.52% 0.1732 -0.0863)
OKLCHoklch(74.52% 0.193 333.5)
XYZxyz(56.5340, 37.4024, 74.0394)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DF #77F28A
analogous
#C777F2 #F277DF #F277A1
triadic
#F277DF #DFF277 #77DFF2
tetradic
#F277DF #F2C777 #77F28A #77A1F2
square
#F277DF #F2C777 #77F28A #77A1F2
split-complementary
#F277DF #A1F277 #77F2C7
monochromatic
#DA15BB #ED3FD2 #F277DF #F7AFEC #FCE3F8

Accessibility & contrast

On white

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

On black

8.48
#F277DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DF#FFFFFF#000000##000000
##F277DF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#99ABDC
Tritanopia (blue-blind)
#FB7FA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f277df;
/* rgb */ color: rgb(242, 119, 223);
/* oklch */ color: oklch(74.5% 0.193 333.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3e9',
    500: '#f277df',
    950: '#000000',
  },
}
SCSS
$custom: #f277df;
$custom-light: #f9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f277df",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 309.268,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74524,
    "c": 0.19348,
    "h": 333.5
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#F277DF
secondary
#D2F3D7
accent
#DF2807
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277DF

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

Preview Lab → · Contrast checker → · Palette generator →

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