#F278DE#F278DE

#F278DE is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.191 H 333.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F278DE
RGBrgb(242, 120, 222)
HSLhsl(310, 82%, 71%)
HSVhsv(310, 50%, 95%)
CMYKcmyk(0%, 50.4%, 8.3%, 5.1%)
CIE-LABlab(67.72, 59.61, -31.00)
CIE-LCHlch(67.72, 67.19, 332.52°)
OKLaboklab(74.61% 0.1716 -0.0841)
OKLCHoklch(74.61% 0.191 333.9)
XYZxyz(56.5192, 37.5879, 73.3714)
Luminance0.3758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278DE #78F28C
analogous
#C978F2 #F278DE #F278A1
triadic
#F278DE #DEF278 #78DEF2
tetradic
#F278DE #F2C978 #78F28C #78A1F2
square
#F278DE #F2C978 #78F28C #78A1F2
split-complementary
#F278DE #A1F278 #78F2C9
monochromatic
#DB15BA #ED40D0 #F278DE #F7B0EC #FCE3F8

Accessibility & contrast

On white

2.47
#F278DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F278DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278DE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278DE#FFFFFF#000000##000000
##F278DE1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE1
Deuteranopia (green-blind)
#9AABDB
Tritanopia (blue-blind)
#FC7FA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f278de;
/* rgb */ color: rgb(242, 120, 222);
/* oklch */ color: oklch(74.6% 0.191 333.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3e8',
    500: '#f278de',
    950: '#000000',
  },
}
SCSS
$custom: #f278de;
$custom-light: #f9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f278de",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 309.836,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74613,
    "c": 0.19112,
    "h": 333.9
  },
  "luminance": 0.37584
}

Semantic roles & 50–950 ramp

primary
#F278DE
secondary
#D3F3D8
accent
#DF2A07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F278DE

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

Preview Lab → · Contrast checker → · Palette generator →

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