#F07CF2#F07CF2

#F07CF2 is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.8% C 0.200 H 326.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F07CF2
RGBrgb(240, 124, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 49%, 95%)
CMYKcmyk(0.8%, 48.8%, 0%, 5.1%)
CIE-LABlab(69.01, 60.52, -40.06)
CIE-LCHlch(69.01, 72.58, 326.50°)
OKLaboklab(75.79% 0.1675 -0.11)
OKLCHoklch(75.79% 0.2 326.7)
XYZxyz(59.1687, 39.3545, 88.4668)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CF2 #7EF27C
analogous
#B57CF2 #F07CF2 #F27CB9
triadic
#F07CF2 #F2F07C #7CF2F0
tetradic
#F07CF2 #F2B57C #7EF27C #7CB9F2
square
#F07CF2 #F2B57C #7EF27C #7CB9F2
split-complementary
#F07CF2 #B9F27C #7CF2B5
monochromatic
#DA16DE #EA44EC #F07CF2 #F6B4F8 #FCE3FC

Accessibility & contrast

On white

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

On black

8.87
#F07CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CF2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CF2#FFFFFF#000000##000000
##F07CF21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#F689AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07cf2;
/* rgb */ color: rgb(240, 124, 242);
/* oklch */ color: oklch(75.8% 0.200 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7a6f6',
    500: '#f07cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f07cf2;
$custom-light: #f7a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cf2",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 298.983,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75788,
    "c": 0.20038,
    "h": 326.7
  },
  "luminance": 0.39351
}

Semantic roles & 50–950 ramp

primary
#F07CF2
secondary
#D6F4D6
accent
#DE070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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