#F07DF7#F07DF7

#F07DF7 is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.2% C 0.203 H 325.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F07DF7
RGBrgb(240, 125, 247)
HSLhsl(297, 88%, 73%)
HSVhsv(297, 49%, 97%)
CMYKcmyk(2.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(69.41, 60.92, -42.18)
CIE-LCHlch(69.41, 74.10, 325.30°)
OKLaboklab(76.15% 0.1669 -0.1161)
OKLCHoklch(76.15% 0.203 325.2)
XYZxyz(60.0559, 39.9109, 92.5179)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DF7 #84F77D
analogous
#B37DF7 #F07DF7 #F77DC1
triadic
#F07DF7 #F7F07D #7DF7F0
tetradic
#F07DF7 #F7B37D #84F77D #7DC1F7
square
#F07DF7 #F7B37D #84F77D #7DC1F7
split-complementary
#F07DF7 #C1F77D #7DF7B3
monochromatic
#DE0EEB #E943F3 #F07DF7 #F7B7FB #FCE2FD

Accessibility & contrast

On white

2.34
#F07DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#F07DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DF7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DF7#FFFFFF#000000##000000
##F07DF71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#91AFF3
Tritanopia (blue-blind)
#F58BAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07df7;
/* rgb */ color: rgb(240, 125, 247);
/* oklch */ color: oklch(76.2% 0.203 325.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7fa',
    500: '#f07df7',
    950: '#000000',
  },
}
SCSS
$custom: #f07df7;
$custom-light: #f7a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f07df7",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 296.557,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76154,
    "c": 0.20329,
    "h": 325.2
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#F07DF7
secondary
#D8F5D6
accent
#E5000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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