#F07CFB#F07CFB

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

Color values

HEX#F07CFB
RGBrgb(240, 124, 251)
HSLhsl(295, 94%, 74%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4.4%, 50.6%, 0%, 1.6%)
CIE-LABlab(69.40, 62.11, -44.37)
CIE-LCHlch(69.40, 76.33, 324.46°)
OKLaboklab(76.21% 0.1687 -0.1224)
OKLCHoklch(76.21% 0.208 324)
XYZxyz(60.5538, 39.9086, 95.7616)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CFB #87FB7C
analogous
#B07CFB #F07CFB #FB7CC6
triadic
#F07CFB #FBF07C #7CFBF0
tetradic
#F07CFB #FBB07C #87FB7C #7CC6FB
square
#F07CFB #FBB07C #87FB7C #7CC6FB
split-complementary
#F07CFB #C6FB7C #7CFBB0
monochromatic
#E107F5 #E941F9 #F07CFB #F7B7FD #FCE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07CFB#FFFFFF#000000##000000
##F07CFB1.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)
#6BA1FF
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#F48CB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07cfb;
/* rgb */ color: rgb(240, 124, 251);
/* oklch */ color: oklch(76.2% 0.208 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7a6fd',
    500: '#f07cfb',
    950: '#000000',
  },
}
SCSS
$custom: #f07cfb;
$custom-light: #f7a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cfb",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 294.803,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76211,
    "c": 0.20845,
    "h": 324
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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