#F07EFC#F07EFC

#F07EFC is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.5% C 0.206 H 323.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F07EFC
RGBrgb(240, 126, 252)
HSLhsl(294, 95%, 74%)
HSVhsv(294, 50%, 99%)
CMYKcmyk(4.8%, 50%, 0%, 1.2%)
CIE-LABlab(69.81, 61.34, -44.28)
CIE-LCHlch(69.81, 75.65, 324.17°)
OKLaboklab(76.52% 0.1662 -0.1222)
OKLCHoklch(76.52% 0.206 323.7)
XYZxyz(60.9651, 40.4782, 96.6784)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EFC #8AFC7E
analogous
#B17EFC #F07EFC #FC7EC9
triadic
#F07EFC #FCF07E #7EFCF0
tetradic
#F07EFC #FCB17E #8AFC7E #7EC9FC
square
#F07EFC #FCB17E #8AFC7E #7EC9FC
split-complementary
#F07EFC #C9FC7E #7EFCB1
monochromatic
#E206F9 #E942FB #F07EFC #F7BAFD #FCE1FE

Accessibility & contrast

On white

2.31
#F07EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#F07EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EFC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EFC#FFFFFF#000000##000000
##F07EFC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#F48EB2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f07efc;
/* rgb */ color: rgb(240, 126, 252);
/* oklch */ color: oklch(76.5% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7fe',
    500: '#f07efc',
    950: '#000000',
  },
}
SCSS
$custom: #f07efc;
$custom-light: #f7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07efc",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 294.286,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76524,
    "c": 0.20629,
    "h": 323.7
  },
  "luminance": 0.40475
}

Semantic roles & 50–950 ramp

primary
#F07EFC
secondary
#D8F7D4
accent
#E60016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #F07EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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