#F07EFD#F07EFD

#F07EFD is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.6% C 0.207 H 323.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F07EFD
RGBrgb(240, 126, 253)
HSLhsl(294, 97%, 74%)
HSVhsv(294, 50%, 99%)
CMYKcmyk(5.1%, 50.2%, 0%, 0.8%)
CIE-LABlab(69.85, 61.52, -44.76)
CIE-LCHlch(69.85, 76.08, 323.96°)
OKLaboklab(76.57% 0.1664 -0.1235)
OKLCHoklch(76.57% 0.207 323.4)
XYZxyz(61.1239, 40.5417, 97.5151)
Luminance0.4054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EFD #8BFD7E
analogous
#B17EFD #F07EFD #FD7ECB
triadic
#F07EFD #FDF07E #7EFDF0
tetradic
#F07EFD #FDB17E #8BFD7E #7ECBFD
square
#F07EFD #FDB17E #8BFD7E #7ECBFD
split-complementary
#F07EFD #CBFD7E #7EFDB1
monochromatic
#E205FB #E942FC #F07EFD #F7BAFE #FBE1FF

Accessibility & contrast

On white

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

On black

9.11
#F07EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EFD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EFD#FFFFFF#000000##000000
##F07EFD1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07efd;
/* rgb */ color: rgb(240, 126, 253);
/* oklch */ color: oklch(76.6% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7fe',
    500: '#f07efd',
    950: '#000000',
  },
}
SCSS
$custom: #f07efd;
$custom-light: #f7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07efd",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 293.858,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76571,
    "c": 0.20721,
    "h": 323.4
  },
  "luminance": 0.40539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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