#F07CE5#F07CE5

#F07CE5 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.189 H 330.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#F07CE5
RGBrgb(240, 124, 229)
HSLhsl(306, 79%, 71%)
HSVhsv(306, 48%, 94%)
CMYKcmyk(0%, 48.3%, 4.6%, 5.9%)
CIE-LABlab(68.46, 58.29, -33.75)
CIE-LCHlch(68.46, 67.36, 329.93°)
OKLaboklab(75.2% 0.1653 -0.092)
OKLCHoklch(75.2% 0.189 330.9)
XYZxyz(57.2852, 38.6011, 78.5470)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CE5 #7CF087
analogous
#C17CF0 #F07CE5 #F07CAB
triadic
#F07CE5 #E5F07C #7CE5F0
tetradic
#F07CE5 #F0C17C #7CF087 #7CABF0
square
#F07CE5 #F0C17C #7CF087 #7CABF0
split-complementary
#F07CE5 #ABF07C #7CF0C1
monochromatic
#D919C7 #EA45DA #F07CE5 #F6B3F0 #FCE4FA

Accessibility & contrast

On white

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

On black

8.72
#F07CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CE5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CE5#FFFFFF#000000##000000
##F07CE51.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE9
Deuteranopia (green-blind)
#98ADE2
Tritanopia (blue-blind)
#F885A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07ce5;
/* rgb */ color: rgb(240, 124, 229);
/* oklch */ color: oklch(75.2% 0.189 330.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6ed',
    500: '#f07ce5',
    950: '#000000',
  },
}
SCSS
$custom: #f07ce5;
$custom-light: #f7a6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ce5",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 305.69,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75204,
    "c": 0.18917,
    "h": 330.9
  },
  "luminance": 0.38598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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