#F07DFC#F07DFC

#F07DFC is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.4% C 0.208 H 323.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F07DFC
RGBrgb(240, 125, 252)
HSLhsl(294, 95%, 74%)
HSVhsv(294, 50%, 99%)
CMYKcmyk(4.8%, 50.4%, 0%, 1.2%)
CIE-LABlab(69.63, 61.82, -44.57)
CIE-LCHlch(69.63, 76.21, 324.21°)
OKLaboklab(76.39% 0.1675 -0.123)
OKLCHoklch(76.39% 0.208 323.7)
XYZxyz(60.8378, 40.2237, 96.6360)
Luminance0.4022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DFC #89FC7D
analogous
#B17DFC #F07DFC #FC7DC9
triadic
#F07DFC #FCF07D #7DFCF0
tetradic
#F07DFC #FCB17D #89FC7D #7DC9FC
square
#F07DFC #FCB17D #89FC7D #7DC9FC
split-complementary
#F07DFC #C9FC7D #7DFCB1
monochromatic
#E206F9 #E941FB #F07DFC #F7B9FD #FCE1FE

Accessibility & contrast

On white

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

On black

9.04
#F07DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DFC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DFC#FFFFFF#000000##000000
##F07DFC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#F48DB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07dfc;
/* rgb */ color: rgb(240, 125, 252);
/* oklch */ color: oklch(76.4% 0.208 323.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7fe',
    500: '#f07dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f07dfc;
$custom-light: #f7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dfc",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 294.331,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76391,
    "c": 0.20782,
    "h": 323.7
  },
  "luminance": 0.40221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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