#F278F2#F278F2

#F278F2 is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.5% C 0.208 H 327.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F278F2
RGBrgb(242, 120, 242)
HSLhsl(300, 82%, 71%)
HSVhsv(300, 50%, 95%)
CMYKcmyk(0%, 50.4%, 0%, 5.1%)
CIE-LABlab(68.55, 62.94, -40.75)
CIE-LCHlch(68.55, 74.99, 327.08°)
OKLaboklab(75.5% 0.175 -0.1119)
OKLCHoklch(75.5% 0.208 327.4)
XYZxyz(59.3604, 38.7243, 88.3351)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278F2 #78F278
analogous
#B578F2 #F278F2 #F278B5
triadic
#F278F2 #F2F278 #78F2F2
tetradic
#F278F2 #F2B578 #78F278 #78B5F2
square
#F278F2 #F2B578 #78F278 #78B5F2
split-complementary
#F278F2 #B5F278 #78F2B5
monochromatic
#DB15DB #ED40ED #F278F2 #F7B0F7 #FCE3FC

Accessibility & contrast

On white

2.40
#F278F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#F278F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278F2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278F2#FFFFFF#000000##000000
##F278F21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F885AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f278f2;
/* rgb */ color: rgb(242, 120, 242);
/* oklch */ color: oklch(75.5% 0.208 327.4);
Tailwind
colors: {
  custom: {
    50: '#f9a4f6',
    500: '#f278f2',
    950: '#000000',
  },
}
SCSS
$custom: #f278f2;
$custom-light: #f9a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f278f2",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75504,
    "c": 0.20771,
    "h": 327.4
  },
  "luminance": 0.38721
}

Semantic roles & 50–950 ramp

primary
#F278F2
secondary
#D3F3D3
accent
#DF0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F278F2

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

Preview Lab → · Contrast checker → · Palette generator →

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