#F077F2#F077F2

#F077F2 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.1% C 0.208 H 326.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#F077F2
RGBrgb(240, 119, 242)
HSLhsl(299, 83%, 71%)
HSVhsv(299, 51%, 95%)
CMYKcmyk(0.8%, 50.8%, 0%, 5.1%)
CIE-LABlab(68.12, 62.87, -41.45)
CIE-LCHlch(68.12, 75.31, 326.61°)
OKLaboklab(75.13% 0.1741 -0.114)
OKLCHoklch(75.13% 0.208 326.8)
XYZxyz(58.5579, 38.1330, 88.2632)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F077F2 #79F277
analogous
#B277F2 #F077F2 #F277B7
triadic
#F077F2 #F2F077 #77F2F0
tetradic
#F077F2 #F2B277 #79F277 #77B7F2
square
#F077F2 #F2B277 #79F277 #77B7F2
split-complementary
#F077F2 #B7F277 #77F2B2
monochromatic
#D715DA #EA3FED #F077F2 #F6AFF7 #FCE3FC

Accessibility & contrast

On white

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

On black

8.63
#F077F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F077F2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F077F2#FFFFFF#000000##000000
##F077F21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#8FACEE
Tritanopia (blue-blind)
#F685AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f077f2;
/* rgb */ color: rgb(240, 119, 242);
/* oklch */ color: oklch(75.1% 0.208 326.8);
Tailwind
colors: {
  custom: {
    50: '#f7a3f7',
    500: '#f077f2',
    950: '#000000',
  },
}
SCSS
$custom: #f077f2;
$custom-light: #f7a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f077f2",
  "rgb": {
    "r": 240,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 299.024,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75131,
    "c": 0.20807,
    "h": 326.8
  },
  "luminance": 0.3813
}

Semantic roles & 50–950 ramp

primary
#F077F2
secondary
#D2F3D2
accent
#DF070A
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F077F2

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

Preview Lab → · Contrast checker → · Palette generator →

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