#F07CE4#F07CE4

#F07CE4 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.188 H 331.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#F07CE4
RGBrgb(240, 124, 228)
HSLhsl(306, 79%, 71%)
HSVhsv(306, 48%, 94%)
CMYKcmyk(0%, 48.3%, 5%, 5.9%)
CIE-LABlab(68.42, 58.12, -33.26)
CIE-LCHlch(68.42, 66.97, 330.22°)
OKLaboklab(75.16% 0.1651 -0.0906)
OKLCHoklch(75.16% 0.188 331.2)
XYZxyz(57.1460, 38.5455, 77.8138)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CE4 #7CF088
analogous
#C27CF0 #F07CE4 #F07CAA
triadic
#F07CE4 #E4F07C #7CE4F0
tetradic
#F07CE4 #F0C27C #7CF088 #7CAAF0
square
#F07CE4 #F0C27C #7CF088 #7CAAF0
split-complementary
#F07CE4 #AAF07C #7CF0C2
monochromatic
#D919C5 #EA45D9 #F07CE4 #F6B3EF #FCE4F9

Accessibility & contrast

On white

2.41
#F07CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#F07CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CE4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CE4#FFFFFF#000000##000000
##F07CE41.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE8
Deuteranopia (green-blind)
#99ADE1
Tritanopia (blue-blind)
#F885A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07ce4;
/* rgb */ color: rgb(240, 124, 228);
/* oklch */ color: oklch(75.2% 0.188 331.2);
Tailwind
colors: {
  custom: {
    50: '#f7a6ec',
    500: '#f07ce4',
    950: '#000000',
  },
}
SCSS
$custom: #f07ce4;
$custom-light: #f7a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ce4",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 306.207,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75161,
    "c": 0.18833,
    "h": 331.2
  },
  "luminance": 0.38542
}

Semantic roles & 50–950 ramp

primary
#F07CE4
secondary
#D5F3D8
accent
#DC1F0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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