#F07FEC#F07FEC

#F07FEC is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.9% C 0.190 H 328.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#F07FEC
RGBrgb(240, 127, 236)
HSLhsl(302, 79%, 72%)
HSVhsv(302, 47%, 94%)
CMYKcmyk(0%, 47.1%, 1.7%, 5.9%)
CIE-LABlab(69.30, 58.04, -36.31)
CIE-LCHlch(69.30, 68.46, 327.97°)
OKLaboklab(75.92% 0.1624 -0.0993)
OKLCHoklch(75.92% 0.19 328.6)
XYZxyz(58.6640, 39.7634, 83.9257)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FEC #7FF083
analogous
#BC7FF0 #F07FEC #F07FB4
triadic
#F07FEC #ECF07F #7FECF0
tetradic
#F07FEC #F0BC7F #7FF083 #7FB4F0
square
#F07FEC #F0BC7F #7FF083 #7FB4F0
split-complementary
#F07FEC #B4F07F #7FF0BC
monochromatic
#DB1AD4 #EA48E4 #F07FEC #F6B6F4 #FCE4FB

Accessibility & contrast

On white

2.35
#F07FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#F07FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FEC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FEC#FFFFFF#000000##000000
##F07FEC1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#F78AAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07fec;
/* rgb */ color: rgb(240, 127, 236);
/* oklch */ color: oklch(75.9% 0.190 328.6);
Tailwind
colors: {
  custom: {
    50: '#f7a8f2',
    500: '#f07fec',
    950: '#000000',
  },
}
SCSS
$custom: #f07fec;
$custom-light: #f7a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fec",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 302.124,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75922,
    "c": 0.19039,
    "h": 328.6
  },
  "luminance": 0.3976
}

Semantic roles & 50–950 ramp

primary
#F07FEC
secondary
#D7F4D8
accent
#DB120A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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