#F07FEB#F07FEB

#F07FEB is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.9% C 0.190 H 328.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F07FEB
RGBrgb(240, 127, 235)
HSLhsl(303, 79%, 72%)
HSVhsv(303, 47%, 94%)
CMYKcmyk(0%, 47.1%, 2.1%, 5.9%)
CIE-LABlab(69.26, 57.86, -35.82)
CIE-LCHlch(69.26, 68.05, 328.24°)
OKLaboklab(75.88% 0.1623 -0.0979)
OKLCHoklch(75.88% 0.19 328.9)
XYZxyz(58.5192, 39.7054, 83.1627)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FEB #7FF084
analogous
#BD7FF0 #F07FEB #F07FB3
triadic
#F07FEB #EBF07F #7FEBF0
tetradic
#F07FEB #F0BD7F #7FF084 #7FB3F0
square
#F07FEB #F0BD7F #7FF084 #7FB3F0
split-complementary
#F07FEB #B3F07F #7FF0BD
monochromatic
#DB1AD2 #EA48E2 #F07FEB #F6B6F4 #FCE4FB

Accessibility & contrast

On white

2.35
#F07FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F07FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FEB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FEB#FFFFFF#000000##000000
##F07FEB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#F789AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07feb;
/* rgb */ color: rgb(240, 127, 235);
/* oklch */ color: oklch(75.9% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a8f1',
    500: '#f07feb',
    950: '#000000',
  },
}
SCSS
$custom: #f07feb;
$custom-light: #f7a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07feb",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 302.655,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75877,
    "c": 0.18952,
    "h": 328.9
  },
  "luminance": 0.39702
}

Semantic roles & 50–950 ramp

primary
#F07FEB
secondary
#D7F4D8
accent
#DB130A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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