#F278EF#F278EF

#F278EF is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.205 H 328.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#F278EF
RGBrgb(242, 120, 239)
HSLhsl(301, 82%, 71%)
HSVhsv(301, 50%, 95%)
CMYKcmyk(0%, 50.4%, 1.2%, 5.1%)
CIE-LABlab(68.42, 62.43, -39.31)
CIE-LCHlch(68.42, 73.77, 327.80°)
OKLaboklab(75.37% 0.1745 -0.1078)
OKLCHoklch(75.37% 0.205 328.3)
XYZxyz(58.9136, 38.5456, 85.9816)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278EF #78F27B
analogous
#B878F2 #F278EF #F278B2
triadic
#F278EF #EFF278 #78EFF2
tetradic
#F278EF #F2B878 #78F27B #78B2F2
square
#F278EF #F2B878 #78F27B #78B2F2
split-complementary
#F278EF #B2F278 #78F2B8
monochromatic
#DB15D6 #ED40E8 #F278EF #F7B0F6 #FCE3FC

Accessibility & contrast

On white

2.41
#F278EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#F278EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278EF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278EF#FFFFFF#000000##000000
##F278EF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f278ef;
/* rgb */ color: rgb(242, 120, 239);
/* oklch */ color: oklch(75.4% 0.205 328.3);
Tailwind
colors: {
  custom: {
    50: '#f9a4f4',
    500: '#f278ef',
    950: '#000000',
  },
}
SCSS
$custom: #f278ef;
$custom-light: #f9a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f278ef",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 301.475,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75365,
    "c": 0.20513,
    "h": 328.3
  },
  "luminance": 0.38542
}

Semantic roles & 50–950 ramp

primary
#F278EF
secondary
#D3F3D3
accent
#DF0C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F278EF

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

Preview Lab → · Contrast checker → · Palette generator →

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