#F07DFB#F07DFB

#F07DFB is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.3% C 0.207 H 324.0°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#F07DFB
RGBrgb(240, 125, 251)
HSLhsl(295, 94%, 74%)
HSVhsv(295, 50%, 98%)
CMYKcmyk(4.4%, 50.2%, 0%, 1.6%)
CIE-LABlab(69.58, 61.64, -44.09)
CIE-LCHlch(69.58, 75.78, 324.42°)
OKLaboklab(76.34% 0.1674 -0.1216)
OKLCHoklch(76.34% 0.207 324)
XYZxyz(60.6798, 40.1605, 95.8036)
Luminance0.4016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DFB #88FB7D
analogous
#B17DFB #F07DFB #FB7DC7
triadic
#F07DFB #FBF07D #7DFBF0
tetradic
#F07DFB #FBB17D #88FB7D #7DC7FB
square
#F07DFB #FBB17D #88FB7D #7DC7FB
split-complementary
#F07DFB #C7FB7D #7DFBB1
monochromatic
#E108F6 #E942F9 #F07DFB #F7B8FD #FCE1FE

Accessibility & contrast

On white

2.33
#F07DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#F07DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DFB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DFB#FFFFFF#000000##000000
##F07DFB1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07dfb;
/* rgb */ color: rgb(240, 125, 251);
/* oklch */ color: oklch(76.3% 0.207 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7fd',
    500: '#f07dfb',
    950: '#000000',
  },
}
SCSS
$custom: #f07dfb;
$custom-light: #f7a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dfb",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 294.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76343,
    "c": 0.20691,
    "h": 324
  },
  "luminance": 0.40158
}

Semantic roles & 50–950 ramp

primary
#F07DFB
secondary
#D8F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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