#F07EF1#F07EF1

#F07EF1 is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.0% C 0.196 H 327.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F07EF1
RGBrgb(240, 126, 241)
HSLhsl(299, 80%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.4%, 47.7%, 0%, 5.5%)
CIE-LABlab(69.33, 59.39, -39.01)
CIE-LCHlch(69.33, 71.05, 326.70°)
OKLaboklab(76.01% 0.1646 -0.107)
OKLCHoklch(76.01% 0.196 327)
XYZxyz(59.2721, 39.8010, 87.7624)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EF1 #7FF17E
analogous
#B77EF1 #F07EF1 #F17EB9
triadic
#F07EF1 #F1F07E #7EF1F0
tetradic
#F07EF1 #F1B77E #7FF17E #7EB9F1
square
#F07EF1 #F1B77E #7FF17E #7EB9F1
split-complementary
#F07EF1 #B9F17E #7EF1B7
monochromatic
#DB18DD #EA47EB #F07EF1 #F6B5F7 #FCE3FC

Accessibility & contrast

On white

2.34
#F07EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F07EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EF1
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EF1#FFFFFF#000000##000000
##F07EF11.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F5
Deuteranopia (green-blind)
#95AFED
Tritanopia (blue-blind)
#F68AAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07ef1;
/* rgb */ color: rgb(240, 126, 241);
/* oklch */ color: oklch(76.0% 0.196 327.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7f6',
    500: '#f07ef1',
    950: '#000000',
  },
}
SCSS
$custom: #f07ef1;
$custom-light: #f7a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ef1",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 299.478,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.19636,
    "h": 327
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#F07EF1
secondary
#D7F4D7
accent
#DD090B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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