#F07CEA#F07CEA

#F07CEA is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.193 H 329.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F07CEA
RGBrgb(240, 124, 234)
HSLhsl(303, 79%, 71%)
HSVhsv(303, 48%, 94%)
CMYKcmyk(0%, 48.3%, 2.5%, 5.9%)
CIE-LABlab(68.67, 59.14, -36.19)
CIE-LCHlch(68.67, 69.33, 328.54°)
OKLaboklab(75.43% 0.1662 -0.0989)
OKLCHoklch(75.43% 0.193 329.2)
XYZxyz(57.9934, 38.8844, 82.2767)
Luminance0.3888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CEA #7CF082
analogous
#BC7CF0 #F07CEA #F07CB0
triadic
#F07CEA #EAF07C #7CEAF0
tetradic
#F07CEA #F0BC7C #7CF082 #7CB0F0
square
#F07CEA #F0BC7C #7CF082 #7CB0F0
split-complementary
#F07CEA #B0F07C #7CF0BC
monochromatic
#D919CF #EA45E1 #F07CEA #F6B3F3 #FCE4FB

Accessibility & contrast

On white

2.39
#F07CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F07CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CEA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CEA#FFFFFF#000000##000000
##F07CEA1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#96ADE7
Tritanopia (blue-blind)
#F787A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07cea;
/* rgb */ color: rgb(240, 124, 234);
/* oklch */ color: oklch(75.4% 0.193 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7a6f1',
    500: '#f07cea',
    950: '#000000',
  },
}
SCSS
$custom: #f07cea;
$custom-light: #f7a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cea",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 303.103,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75425,
    "c": 0.19341,
    "h": 329.2
  },
  "luminance": 0.38881
}

Semantic roles & 50–950 ramp

primary
#F07CEA
secondary
#D5F3D6
accent
#DC150A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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