#F07DFD#F07DFD

#F07DFD is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.4% C 0.209 H 323.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F07DFD
RGBrgb(240, 125, 253)
HSLhsl(294, 97%, 74%)
HSVhsv(294, 51%, 99%)
CMYKcmyk(5.1%, 50.6%, 0%, 0.8%)
CIE-LABlab(69.67, 62.00, -45.04)
CIE-LCHlch(69.67, 76.63, 324.00°)
OKLaboklab(76.44% 0.1677 -0.1243)
OKLCHoklch(76.44% 0.209 323.4)
XYZxyz(60.9967, 40.2873, 97.4727)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DFD #8AFD7D
analogous
#B07DFD #F07DFD #FD7DCA
triadic
#F07DFD #FDF07D #7DFDF0
tetradic
#F07DFD #FDB07D #8AFD7D #7DCAFD
square
#F07DFD #FDB07D #8AFD7D #7DCAFD
split-complementary
#F07DFD #CAFD7D #7DFDB0
monochromatic
#E204FB #E941FC #F07DFD #F7B9FE #FCE1FF

Accessibility & contrast

On white

2.32
#F07DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F07DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DFD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DFD#FFFFFF#000000##000000
##F07DFD1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#F48DB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07dfd;
/* rgb */ color: rgb(240, 125, 253);
/* oklch */ color: oklch(76.4% 0.209 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7fe',
    500: '#f07dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f07dfd;
$custom-light: #f7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dfd",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 293.906,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76439,
    "c": 0.20874,
    "h": 323.4
  },
  "luminance": 0.40284
}

Semantic roles & 50–950 ramp

primary
#F07DFD
secondary
#D8F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #F07DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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