#F07EF9#F07EF9

#F07EF9 is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.4% C 0.204 H 324.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F07EF9
RGBrgb(240, 126, 249)
HSLhsl(296, 91%, 74%)
HSVhsv(296, 49%, 98%)
CMYKcmyk(3.6%, 49.4%, 0%, 2.4%)
CIE-LABlab(69.68, 60.80, -42.85)
CIE-LCHlch(69.68, 74.38, 324.82°)
OKLaboklab(76.38% 0.1658 -0.118)
OKLCHoklch(76.38% 0.204 324.6)
XYZxyz(60.4934, 40.2895, 94.1944)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EF9 #87F97E
analogous
#B27EF9 #F07EF9 #F97EC4
triadic
#F07EF9 #F9F07E #7EF9F0
tetradic
#F07EF9 #F9B27E #87F97E #7EC4F9
square
#F07EF9 #F9B27E #87F97E #7EC4F9
split-complementary
#F07EF9 #C4F97E #7EF9B2
monochromatic
#E10BF1 #E944F6 #F07EF9 #F7B8FC #FCE2FE

Accessibility & contrast

On white

2.32
#F07EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F07EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EF9
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EF9#FFFFFF#000000##000000
##F07EF91.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#F48DB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ef9;
/* rgb */ color: rgb(240, 126, 249);
/* oklch */ color: oklch(76.4% 0.204 324.6);
Tailwind
colors: {
  custom: {
    50: '#f7a7fb',
    500: '#f07ef9',
    950: '#000000',
  },
}
SCSS
$custom: #f07ef9;
$custom-light: #f7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ef9",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 295.61,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76381,
    "c": 0.20355,
    "h": 324.6
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#F07EF9
secondary
#D8F6D5
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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