#F07DF4#F07DF4

#F07DF4 is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.201 H 326.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F07DF4
RGBrgb(240, 125, 244)
HSLhsl(298, 84%, 72%)
HSVhsv(298, 49%, 96%)
CMYKcmyk(1.6%, 48.8%, 0%, 4.3%)
CIE-LABlab(69.27, 60.39, -40.74)
CIE-LCHlch(69.27, 72.85, 326.00°)
OKLaboklab(76.01% 0.1664 -0.112)
OKLCHoklch(76.01% 0.201 326.1)
XYZxyz(59.5967, 39.7273, 90.0994)
Luminance0.3972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DF4 #81F47D
analogous
#B47DF4 #F07DF4 #F47DBD
triadic
#F07DF4 #F4F07D #7DF4F0
tetradic
#F07DF4 #F4B47D #81F47D #7DBDF4
square
#F07DF4 #F4B47D #81F47D #7DBDF4
split-complementary
#F07DF4 #BDF47D #7DF4B4
monochromatic
#DC13E3 #E945EF #F07DF4 #F7B5F9 #FCE3FD

Accessibility & contrast

On white

2.35
#F07DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F07DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DF4
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DF4#FFFFFF#000000##000000
##F07DF41.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F8
Deuteranopia (green-blind)
#93AEF0
Tritanopia (blue-blind)
#F58AAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07df4;
/* rgb */ color: rgb(240, 125, 244);
/* oklch */ color: oklch(76.0% 0.201 326.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7f8',
    500: '#f07df4',
    950: '#000000',
  },
}
SCSS
$custom: #f07df4;
$custom-light: #f7a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07df4",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 297.983,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.2006,
    "h": 326.1
  },
  "luminance": 0.39724
}

Semantic roles & 50–950 ramp

primary
#F07DF4
secondary
#D7F5D6
accent
#E1050C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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