#F278EC#F278EC

#F278EC is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.2% C 0.203 H 329.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F278EC
RGBrgb(242, 120, 236)
HSLhsl(303, 82%, 71%)
HSVhsv(303, 50%, 95%)
CMYKcmyk(0%, 50.4%, 2.5%, 5.1%)
CIE-LABlab(68.29, 61.92, -37.86)
CIE-LCHlch(68.29, 72.58, 328.56°)
OKLaboklab(75.23% 0.1741 -0.1036)
OKLCHoklch(75.23% 0.203 329.2)
XYZxyz(58.4741, 38.3698, 83.6668)
Luminance0.3837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278EC #78F27E
analogous
#BB78F2 #F278EC #F278AF
triadic
#F278EC #ECF278 #78ECF2
tetradic
#F278EC #F2BB78 #78F27E #78AFF2
square
#F278EC #F2BB78 #78F27E #78AFF2
split-complementary
#F278EC #AFF278 #78F2BB
monochromatic
#DB15D1 #ED40E4 #F278EC #F7B0F4 #FCE3FB

Accessibility & contrast

On white

2.42
#F278EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F278EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278EC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278EC#FFFFFF#000000##000000
##F278EC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#F984A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f278ec;
/* rgb */ color: rgb(242, 120, 236);
/* oklch */ color: oklch(75.2% 0.203 329.2);
Tailwind
colors: {
  custom: {
    50: '#f9a3f2',
    500: '#f278ec',
    950: '#000000',
  },
}
SCSS
$custom: #f278ec;
$custom-light: #f9a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f278ec",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 302.951,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75228,
    "c": 0.20258,
    "h": 329.2
  },
  "luminance": 0.38366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F278EC

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

Preview Lab → · Contrast checker → · Palette generator →

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