#F07FE2#F07FE2

#F07FE2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.5% C 0.182 H 332.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F07FE2
RGBrgb(240, 127, 226)
HSLhsl(307, 79%, 72%)
HSVhsv(307, 47%, 94%)
CMYKcmyk(0%, 47.1%, 5.8%, 5.9%)
CIE-LABlab(68.89, 56.34, -31.42)
CIE-LCHlch(68.89, 64.51, 330.85°)
OKLaboklab(75.49% 0.1606 -0.0854)
OKLCHoklch(75.49% 0.182 332)
XYZxyz(57.2517, 39.1984, 76.4873)
Luminance0.3920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FE2 #7FF08D
analogous
#C67FF0 #F07FE2 #F07FA9
triadic
#F07FE2 #E2F07F #7FE2F0
tetradic
#F07FE2 #F0C67F #7FF08D #7FA9F0
square
#F07FE2 #F0C67F #7FF08D #7FA9F0
split-complementary
#F07FE2 #A9F07F #7FF0C6
monochromatic
#DB1AC3 #EA48D6 #F07FE2 #F6B6EE #FCE4F9

Accessibility & contrast

On white

2.38
#F07FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F07FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FE2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FE2#FFFFFF#000000##000000
##F07FE21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#9BAEDF
Tritanopia (blue-blind)
#F887A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07fe2;
/* rgb */ color: rgb(240, 127, 226);
/* oklch */ color: oklch(75.5% 0.182 332.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7eb',
    500: '#f07fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f07fe2;
$custom-light: #f7a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fe2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 307.434,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75487,
    "c": 0.18187,
    "h": 332
  },
  "luminance": 0.39195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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