#F07EE2#F07EE2

#F07EE2 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.3% C 0.183 H 332.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#F07EE2
RGBrgb(240, 126, 226)
HSLhsl(307, 79%, 72%)
HSVhsv(307, 48%, 94%)
CMYKcmyk(0%, 47.5%, 5.8%, 5.9%)
CIE-LABlab(68.71, 56.83, -31.71)
CIE-LCHlch(68.71, 65.07, 330.84°)
OKLaboklab(75.35% 0.162 -0.0862)
OKLCHoklch(75.35% 0.183 332)
XYZxyz(57.1232, 38.9414, 76.4444)
Luminance0.3894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EE2 #7EF08C
analogous
#C57EF0 #F07EE2 #F07EA9
triadic
#F07EE2 #E2F07E #7EE2F0
tetradic
#F07EE2 #F0C57E #7EF08C #7EA9F0
square
#F07EE2 #F0C57E #7EF08C #7EA9F0
split-complementary
#F07EE2 #A9F07E #7EF0C5
monochromatic
#DA19C3 #EA47D6 #F07EE2 #F6B5EE #FCE4F9

Accessibility & contrast

On white

2.39
#F07EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#F07EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EE2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EE2#FFFFFF#000000##000000
##F07EE21.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9DE5
Deuteranopia (green-blind)
#9BADDF
Tritanopia (blue-blind)
#F886A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07ee2;
/* rgb */ color: rgb(240, 126, 226);
/* oklch */ color: oklch(75.3% 0.183 332.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7eb',
    500: '#f07ee2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ee2;
$custom-light: #f7a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ee2",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 307.368,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.18348,
    "h": 332
  },
  "luminance": 0.38938
}

Semantic roles & 50–950 ramp

primary
#F07EE2
secondary
#D6F3DA
accent
#DB240A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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