#F07FED#F07FED

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

Color values

HEX#F07FED
RGBrgb(240, 127, 237)
HSLhsl(302, 79%, 72%)
HSVhsv(302, 47%, 94%)
CMYKcmyk(0%, 47.1%, 1.2%, 5.9%)
CIE-LABlab(69.34, 58.21, -36.79)
CIE-LCHlch(69.34, 68.86, 327.70°)
OKLaboklab(75.97% 0.1626 -0.1007)
OKLCHoklch(75.97% 0.191 328.2)
XYZxyz(58.8097, 39.8217, 84.6930)
Luminance0.3982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FED #7FF082
analogous
#BB7FF0 #F07FED #F07FB5
triadic
#F07FED #EDF07F #7FEDF0
tetradic
#F07FED #F0BB7F #7FF082 #7FB5F0
square
#F07FED #F0BB7F #7FF082 #7FB5F0
split-complementary
#F07FED #B5F07F #7FF0BB
monochromatic
#DB1AD6 #EA48E5 #F07FED #F6B6F5 #FCE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07FED#FFFFFF#000000##000000
##F07FED1.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)
#76A0F1
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#F78AAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07fed;
/* rgb */ color: rgb(240, 127, 237);
/* oklch */ color: oklch(76.0% 0.191 328.2);
Tailwind
colors: {
  custom: {
    50: '#f7a8f3',
    500: '#f07fed',
    950: '#000000',
  },
}
SCSS
$custom: #f07fed;
$custom-light: #f7a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fed",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 301.593,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75966,
    "c": 0.19125,
    "h": 328.2
  },
  "luminance": 0.39818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FED

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

Preview Lab → · Contrast checker → · Palette generator →

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