#F278EE#F278EE

#F278EE is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.3% C 0.204 H 328.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F278EE
RGBrgb(242, 120, 238)
HSLhsl(302, 82%, 71%)
HSVhsv(302, 50%, 95%)
CMYKcmyk(0%, 50.4%, 1.7%, 5.1%)
CIE-LABlab(68.38, 62.26, -38.82)
CIE-LCHlch(68.38, 73.37, 328.05°)
OKLaboklab(75.32% 0.1744 -0.1064)
OKLCHoklch(75.32% 0.204 328.6)
XYZxyz(58.7663, 38.4867, 85.2057)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278EE #78F27C
analogous
#B978F2 #F278EE #F278B1
triadic
#F278EE #EEF278 #78EEF2
tetradic
#F278EE #F2B978 #78F27C #78B1F2
square
#F278EE #F2B978 #78F27C #78B1F2
split-complementary
#F278EE #B1F278 #78F2B9
monochromatic
#DB15D4 #ED40E7 #F278EE #F7B0F5 #FCE3FB

Accessibility & contrast

On white

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

On black

8.70
#F278EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278EE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278EE#FFFFFF#000000##000000
##F278EE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#93ADEA
Tritanopia (blue-blind)
#F984A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f278ee;
/* rgb */ color: rgb(242, 120, 238);
/* oklch */ color: oklch(75.3% 0.204 328.6);
Tailwind
colors: {
  custom: {
    50: '#f9a3f4',
    500: '#f278ee',
    950: '#000000',
  },
}
SCSS
$custom: #f278ee;
$custom-light: #f9a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f278ee",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 301.967,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.20428,
    "h": 328.6
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#F278EE
secondary
#D3F3D4
accent
#DF0E07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F278EE

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

Preview Lab → · Contrast checker → · Palette generator →

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