#F07CEF#F07CEF

#F07CEF is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.6% C 0.198 H 327.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F07CEF
RGBrgb(240, 124, 239)
HSLhsl(301, 79%, 71%)
HSVhsv(301, 48%, 94%)
CMYKcmyk(0%, 48.3%, 0.4%, 5.9%)
CIE-LABlab(68.88, 60.00, -38.61)
CIE-LCHlch(68.88, 71.35, 327.23°)
OKLaboklab(75.65% 0.167 -0.1059)
OKLCHoklch(75.65% 0.198 327.6)
XYZxyz(58.7219, 39.1758, 86.1133)
Luminance0.3917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CEF #7CF07D
analogous
#B77CF0 #F07CEF #F07CB5
triadic
#F07CEF #EFF07C #7CEFF0
tetradic
#F07CEF #F0B77C #7CF07D #7CB5F0
square
#F07CEF #F0B77C #7CF07D #7CB5F0
split-complementary
#F07CEF #B5F07C #7CF0B7
monochromatic
#D919D7 #EA45E8 #F07CEF #F6B3F6 #FCE4FC

Accessibility & contrast

On white

2.38
#F07CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F07CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CEF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CEF#FFFFFF#000000##000000
##F07CEF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#F688AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07cef;
/* rgb */ color: rgb(240, 124, 239);
/* oklch */ color: oklch(75.6% 0.198 327.6);
Tailwind
colors: {
  custom: {
    50: '#f7a6f4',
    500: '#f07cef',
    950: '#000000',
  },
}
SCSS
$custom: #f07cef;
$custom-light: #f7a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cef",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 300.517,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.19774,
    "h": 327.6
  },
  "luminance": 0.39173
}

Semantic roles & 50–950 ramp

primary
#F07CEF
secondary
#D5F3D5
accent
#DC0C0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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