#F279EF#F279EF

#F279EF is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.5% C 0.204 H 328.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F279EF
RGBrgb(242, 121, 239)
HSLhsl(301, 82%, 71%)
HSVhsv(301, 50%, 95%)
CMYKcmyk(0%, 50%, 1.2%, 5.1%)
CIE-LABlab(68.60, 61.96, -39.03)
CIE-LCHlch(68.60, 73.23, 327.79°)
OKLaboklab(75.5% 0.1732 -0.107)
OKLCHoklch(75.5% 0.204 328.3)
XYZxyz(59.0345, 38.7874, 86.0219)
Luminance0.3878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F279EF #79F27C
analogous
#B879F2 #F279EF #F279B2
triadic
#F279EF #EFF279 #79EFF2
tetradic
#F279EF #F2B879 #79F27C #79B2F2
square
#F279EF #F2B879 #79F27C #79B2F2
split-complementary
#F279EF #B2F279 #79F2B8
monochromatic
#DB15D6 #ED41E8 #F279EF #F7B1F6 #FCE3FC

Accessibility & contrast

On white

2.40
#F279EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F279EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F279EF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F279EF#FFFFFF#000000##000000
##F279EF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#93ADEB
Tritanopia (blue-blind)
#F985A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f279ef;
/* rgb */ color: rgb(242, 121, 239);
/* oklch */ color: oklch(75.5% 0.204 328.3);
Tailwind
colors: {
  custom: {
    50: '#f9a4f4',
    500: '#f279ef',
    950: '#000000',
  },
}
SCSS
$custom: #f279ef;
$custom-light: #f9a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f279ef",
  "rgb": {
    "r": 242,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 301.488,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.20359,
    "h": 328.3
  },
  "luminance": 0.38784
}

Semantic roles & 50–950 ramp

primary
#F279EF
secondary
#D3F3D4
accent
#DF0C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F279EF

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

Preview Lab → · Contrast checker → · Palette generator →

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