#F278EA#F278EA

#F278EA is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.1% C 0.201 H 329.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F278EA
RGBrgb(242, 120, 234)
HSLhsl(304, 82%, 71%)
HSVhsv(304, 50%, 95%)
CMYKcmyk(0%, 50.4%, 3.3%, 5.1%)
CIE-LABlab(68.21, 61.59, -36.88)
CIE-LCHlch(68.21, 71.79, 329.08°)
OKLaboklab(75.14% 0.1737 -0.1009)
OKLCHoklch(75.14% 0.201 329.9)
XYZxyz(58.1851, 38.2542, 82.1450)
Luminance0.3825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278EA #78F280
analogous
#BD78F2 #F278EA #F278AD
triadic
#F278EA #EAF278 #78EAF2
tetradic
#F278EA #F2BD78 #78F280 #78ADF2
square
#F278EA #F2BD78 #78F280 #78ADF2
split-complementary
#F278EA #ADF278 #78F2BD
monochromatic
#DB15CE #ED40E1 #F278EA #F7B0F3 #FCE3FB

Accessibility & contrast

On white

2.43
#F278EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F278EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278EA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278EA#FFFFFF#000000##000000
##F278EA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#95ACE6
Tritanopia (blue-blind)
#FA83A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f278ea;
/* rgb */ color: rgb(242, 120, 234);
/* oklch */ color: oklch(75.1% 0.201 329.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3f1',
    500: '#f278ea',
    950: '#000000',
  },
}
SCSS
$custom: #f278ea;
$custom-light: #f9a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f278ea",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 303.934,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75138,
    "c": 0.2009,
    "h": 329.9
  },
  "luminance": 0.38251
}

Semantic roles & 50–950 ramp

primary
#F278EA
secondary
#D3F3D5
accent
#DF1507
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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