#F279DF#F279DF

#F279DF is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.190 H 333.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F279DF
RGBrgb(242, 121, 223)
HSLhsl(309, 82%, 71%)
HSVhsv(309, 50%, 95%)
CMYKcmyk(0%, 50%, 7.9%, 5.1%)
CIE-LABlab(67.93, 59.30, -31.22)
CIE-LCHlch(67.93, 67.02, 332.23°)
OKLaboklab(74.79% 0.1704 -0.0848)
OKLCHoklch(74.79% 0.19 333.6)
XYZxyz(56.7745, 37.8834, 74.1196)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F279DF #79F28C
analogous
#C879F2 #F279DF #F279A2
triadic
#F279DF #DFF279 #79DFF2
tetradic
#F279DF #F2C879 #79F28C #79A2F2
square
#F279DF #F2C879 #79F28C #79A2F2
split-complementary
#F279DF #A2F279 #79F2C8
monochromatic
#DB15BC #ED41D2 #F279DF #F7B1EC #FCE3F8

Accessibility & contrast

On white

2.45
#F279DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F279DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F279DF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F279DF#FFFFFF#000000##000000
##F279DF1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#9AACDC
Tritanopia (blue-blind)
#FB80A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f279df;
/* rgb */ color: rgb(242, 121, 223);
/* oklch */ color: oklch(74.8% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#f9a4e9',
    500: '#f279df',
    950: '#000000',
  },
}
SCSS
$custom: #f279df;
$custom-light: #f9a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f279df",
  "rgb": {
    "r": 242,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 309.421,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.19035,
    "h": 333.6
  },
  "luminance": 0.3788
}

Semantic roles & 50–950 ramp

primary
#F279DF
secondary
#D3F3D8
accent
#DF2907
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F279DF

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

Preview Lab → · Contrast checker → · Palette generator →

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