#F07CF1#F07CF1

#F07CF1 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.7% C 0.200 H 327.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F07CF1
RGBrgb(240, 124, 241)
HSLhsl(299, 81%, 72%)
HSVhsv(299, 49%, 95%)
CMYKcmyk(0.4%, 48.5%, 0%, 5.5%)
CIE-LABlab(68.96, 60.34, -39.58)
CIE-LCHlch(68.96, 72.16, 326.74°)
OKLaboklab(75.74% 0.1673 -0.1086)
OKLCHoklch(75.74% 0.2 327)
XYZxyz(59.0190, 39.2946, 87.6780)
Luminance0.3929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CF1 #7DF17C
analogous
#B67CF1 #F07CF1 #F17CB8
triadic
#F07CF1 #F1F07C #7CF1F0
tetradic
#F07CF1 #F1B67C #7DF17C #7CB8F1
square
#F07CF1 #F1B67C #7DF17C #7CB8F1
split-complementary
#F07CF1 #B8F17C #7CF1B6
monochromatic
#DA17DB #EA45EB #F07CF1 #F6B3F7 #FCE3FC

Accessibility & contrast

On white

2.37
#F07CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F07CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CF1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CF1#FFFFFF#000000##000000
##F07CF11.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#93AEED
Tritanopia (blue-blind)
#F689AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07cf1;
/* rgb */ color: rgb(240, 124, 241);
/* oklch */ color: oklch(75.7% 0.200 327.0);
Tailwind
colors: {
  custom: {
    50: '#f7a6f6',
    500: '#f07cf1',
    950: '#000000',
  },
}
SCSS
$custom: #f07cf1;
$custom-light: #f7a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cf1",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 299.487,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75742,
    "c": 0.1995,
    "h": 327
  },
  "luminance": 0.39291
}

Semantic roles & 50–950 ramp

primary
#F07CF1
secondary
#D6F3D5
accent
#DD080A
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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