#F07CE2#F07CE2

#F07CE2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.187 H 331.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#F07CE2
RGBrgb(240, 124, 226)
HSLhsl(307, 79%, 71%)
HSVhsv(307, 48%, 94%)
CMYKcmyk(0%, 48.3%, 5.8%, 5.9%)
CIE-LABlab(68.34, 57.79, -32.28)
CIE-LCHlch(68.34, 66.19, 330.82°)
OKLaboklab(75.08% 0.1647 -0.0878)
OKLCHoklch(75.08% 0.187 331.9)
XYZxyz(56.8700, 38.4350, 76.3600)
Luminance0.3843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CE2 #7CF08A
analogous
#C47CF0 #F07CE2 #F07CA8
triadic
#F07CE2 #E2F07C #7CE2F0
tetradic
#F07CE2 #F0C47C #7CF08A #7CA8F0
square
#F07CE2 #F0C47C #7CF08A #7CA8F0
split-complementary
#F07CE2 #A8F07C #7CF0C4
monochromatic
#D919C2 #EA45D6 #F07CE2 #F6B3EE #FCE4F9

Accessibility & contrast

On white

2.42
#F07CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#F07CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CE2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CE2#FFFFFF#000000##000000
##F07CE21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#99ADDF
Tritanopia (blue-blind)
#F884A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07ce2;
/* rgb */ color: rgb(240, 124, 226);
/* oklch */ color: oklch(75.1% 0.187 331.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6eb',
    500: '#f07ce2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ce2;
$custom-light: #f7a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ce2",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 307.241,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.18667,
    "h": 331.9
  },
  "luminance": 0.38432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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