#F07DE2#F07DE2

#F07DE2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.185 H 332.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F07DE2
RGBrgb(240, 125, 226)
HSLhsl(307, 79%, 72%)
HSVhsv(307, 48%, 94%)
CMYKcmyk(0%, 47.9%, 5.8%, 5.9%)
CIE-LABlab(68.52, 57.31, -31.99)
CIE-LCHlch(68.52, 65.63, 330.83°)
OKLaboklab(75.21% 0.1634 -0.087)
OKLCHoklch(75.21% 0.185 332)
XYZxyz(56.9959, 38.6870, 76.4020)
Luminance0.3868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DE2 #7DF08B
analogous
#C57DF0 #F07DE2 #F07DA9
triadic
#F07DE2 #E2F07D #7DE2F0
tetradic
#F07DE2 #F0C57D #7DF08B #7DA9F0
square
#F07DE2 #F0C57D #7DF08B #7DA9F0
split-complementary
#F07DE2 #A9F07D #7DF0C5
monochromatic
#DA19C2 #EA46D6 #F07DE2 #F6B4EE #FCE4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07DE2#FFFFFF#000000##000000
##F07DE21.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)
#799DE5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#F885A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07de2;
/* rgb */ color: rgb(240, 125, 226);
/* oklch */ color: oklch(75.2% 0.185 332.0);
Tailwind
colors: {
  custom: {
    50: '#f7a6eb',
    500: '#f07de2',
    950: '#000000',
  },
}
SCSS
$custom: #f07de2;
$custom-light: #f7a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07de2",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 307.304,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.18508,
    "h": 332
  },
  "luminance": 0.38683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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