#F07CEE#F07CEE

#F07CEE is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.6% C 0.197 H 327.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F07CEE
RGBrgb(240, 124, 238)
HSLhsl(301, 79%, 71%)
HSVhsv(301, 48%, 94%)
CMYKcmyk(0%, 48.3%, 0.8%, 5.9%)
CIE-LABlab(68.84, 59.82, -38.13)
CIE-LCHlch(68.84, 70.94, 327.49°)
OKLaboklab(75.61% 0.1669 -0.1045)
OKLCHoklch(75.61% 0.197 327.9)
XYZxyz(58.5745, 39.1169, 85.3374)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CEE #7CF07E
analogous
#B87CF0 #F07CEE #F07CB4
triadic
#F07CEE #EEF07C #7CEEF0
tetradic
#F07CEE #F0B87C #7CF07E #7CB4F0
square
#F07CEE #F0B87C #7CF07E #7CB4F0
split-complementary
#F07CEE #B4F07C #7CF0B8
monochromatic
#D919D5 #EA45E7 #F07CEE #F6B3F5 #FCE4FB

Accessibility & contrast

On white

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

On black

8.82
#F07CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CEE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CEE#FFFFFF#000000##000000
##F07CEE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#95ADEA
Tritanopia (blue-blind)
#F688AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07cee;
/* rgb */ color: rgb(240, 124, 238);
/* oklch */ color: oklch(75.6% 0.197 327.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6f4',
    500: '#f07cee',
    950: '#000000',
  },
}
SCSS
$custom: #f07cee;
$custom-light: #f7a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cee",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 301.034,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75605,
    "c": 0.19687,
    "h": 327.9
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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