#F07DE4#F07DE4

#F07DE4 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.187 H 331.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F07DE4
RGBrgb(240, 125, 228)
HSLhsl(306, 79%, 72%)
HSVhsv(306, 48%, 94%)
CMYKcmyk(0%, 47.9%, 5%, 5.9%)
CIE-LABlab(68.60, 57.64, -32.97)
CIE-LCHlch(68.60, 66.41, 330.23°)
OKLaboklab(75.3% 0.1637 -0.0898)
OKLCHoklch(75.3% 0.187 331.3)
XYZxyz(57.2720, 38.7974, 77.8558)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DE4 #7DF089
analogous
#C37DF0 #F07DE4 #F07DAB
triadic
#F07DE4 #E4F07D #7DE4F0
tetradic
#F07DE4 #F0C37D #7DF089 #7DABF0
square
#F07DE4 #F0C37D #7DF089 #7DABF0
split-complementary
#F07DE4 #ABF07D #7DF0C3
monochromatic
#DA19C5 #EA46D9 #F07DE4 #F6B4EF #FCE4F9

Accessibility & contrast

On white

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

On black

8.76
#F07DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DE4
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DE4#FFFFFF#000000##000000
##F07DE41.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#99ADE1
Tritanopia (blue-blind)
#F886A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07de4;
/* rgb */ color: rgb(240, 125, 228);
/* oklch */ color: oklch(75.3% 0.187 331.3);
Tailwind
colors: {
  custom: {
    50: '#f7a6ec',
    500: '#f07de4',
    950: '#000000',
  },
}
SCSS
$custom: #f07de4;
$custom-light: #f7a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f07de4",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 306.261,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75297,
    "c": 0.18674,
    "h": 331.3
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#F07DE4
secondary
#D6F3D9
accent
#DC200A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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