#F07EFE#F07EFE

#F07EFE is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.6% C 0.208 H 323.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F07EFE
RGBrgb(240, 126, 254)
HSLhsl(293, 98%, 75%)
HSVhsv(293, 50%, 100%)
CMYKcmyk(5.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(69.90, 61.70, -45.23)
CIE-LCHlch(69.90, 76.51, 323.75°)
OKLaboklab(76.62% 0.1665 -0.1249)
OKLCHoklch(76.62% 0.208 323.1)
XYZxyz(61.2836, 40.6056, 98.3563)
Luminance0.4060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EFE #8CFE7E
analogous
#B07EFE #F07EFE #FE7ECC
triadic
#F07EFE #FEF07E #7EFEF0
tetradic
#F07EFE #FEB07E #8CFE7E #7ECCFE
square
#F07EFE #FEB07E #8CFE7E #7ECCFE
split-complementary
#F07EFE #CCFE7E #7EFEB0
monochromatic
#E205FD #E941FE #F07EFE #F7BBFE #FBE1FF

Accessibility & contrast

On white

2.30
#F07EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F07EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EFE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EFE#FFFFFF#000000##000000
##F07EFE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#F48EB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f07efe;
/* rgb */ color: rgb(240, 126, 254);
/* oklch */ color: oklch(76.6% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7ff',
    500: '#f07efe',
    950: '#000000',
  },
}
SCSS
$custom: #f07efe;
$custom-light: #f7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07efe",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 293.438,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76619,
    "c": 0.20812,
    "h": 323.1
  },
  "luminance": 0.40603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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