#F07FDE#F07FDE

#F07FDE is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.3% C 0.179 H 333.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#F07FDE
RGBrgb(240, 127, 222)
HSLhsl(310, 79%, 72%)
HSVhsv(310, 47%, 94%)
CMYKcmyk(0%, 47.1%, 7.5%, 5.9%)
CIE-LABlab(68.74, 55.68, -29.45)
CIE-LCHlch(68.74, 62.99, 332.13°)
OKLaboklab(75.32% 0.1597 -0.0798)
OKLCHoklch(75.32% 0.179 333.4)
XYZxyz(56.7092, 38.9814, 73.6303)
Luminance0.3898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDE #7FF091
analogous
#CA7FF0 #F07FDE #F07FA5
triadic
#F07FDE #DEF07F #7FDEF0
tetradic
#F07FDE #F0CA7F #7FF091 #7FA5F0
square
#F07FDE #F0CA7F #7FF091 #7FA5F0
split-complementary
#F07FDE #A5F07F #7FF0CA
monochromatic
#DB1ABC #EA48D0 #F07FDE #F6B6EC #FCE4F8

Accessibility & contrast

On white

2.39
#F07FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#F07FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDE#FFFFFF#000000##000000
##F07FDE1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE1
Deuteranopia (green-blind)
#9DAEDB
Tritanopia (blue-blind)
#F986A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07fde;
/* rgb */ color: rgb(240, 127, 222);
/* oklch */ color: oklch(75.3% 0.179 333.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7e8',
    500: '#f07fde',
    950: '#000000',
  },
}
SCSS
$custom: #f07fde;
$custom-light: #f7a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fde",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 309.558,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.17857,
    "h": 333.4
  },
  "luminance": 0.38978
}

Semantic roles & 50–950 ramp

primary
#F07FDE
secondary
#D7F4DC
accent
#DB2C0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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