#F07DFE#F07DFE

#F07DFE is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.5% C 0.210 H 323.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F07DFE
RGBrgb(240, 125, 254)
HSLhsl(293, 98%, 74%)
HSVhsv(293, 51%, 100%)
CMYKcmyk(5.5%, 50.8%, 0%, 0.4%)
CIE-LABlab(69.72, 62.18, -45.52)
CIE-LCHlch(69.72, 77.06, 323.79°)
OKLaboklab(76.49% 0.1678 -0.1257)
OKLCHoklch(76.49% 0.21 323.2)
XYZxyz(61.1564, 40.3511, 98.3139)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DFE #8BFE7D
analogous
#B07DFE #F07DFE #FE7DCC
triadic
#F07DFE #FEF07D #7DFEF0
tetradic
#F07DFE #FEB07D #8BFE7D #7DCCFE
square
#F07DFE #FEB07D #8BFE7D #7DCCFE
split-complementary
#F07DFE #CCFE7D #7DFEB0
monochromatic
#E204FD #E940FE #F07DFE #F7BAFE #FBE1FF

Accessibility & contrast

On white

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

On black

9.07
#F07DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DFE#FFFFFF#000000##000000
##F07DFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#F48EB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07dfe;
/* rgb */ color: rgb(240, 125, 254);
/* oklch */ color: oklch(76.5% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7ff',
    500: '#f07dfe',
    950: '#000000',
  },
}
SCSS
$custom: #f07dfe;
$custom-light: #f7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dfe",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 293.488,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.20966,
    "h": 323.2
  },
  "luminance": 0.40348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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