#F07FEF#F07FEF

#F07FEF is a light, vivid purple. Relative luminance 0.399; OKLCH L 76.1% C 0.193 H 327.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F07FEF
RGBrgb(240, 127, 239)
HSLhsl(301, 79%, 72%)
HSVhsv(301, 47%, 94%)
CMYKcmyk(0%, 47.1%, 0.4%, 5.9%)
CIE-LABlab(69.43, 58.55, -37.76)
CIE-LCHlch(69.43, 69.67, 327.18°)
OKLaboklab(76.06% 0.163 -0.1034)
OKLCHoklch(76.06% 0.193 327.6)
XYZxyz(59.1036, 39.9392, 86.2405)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FEF #7FF080
analogous
#B97FF0 #F07FEF #F07FB7
triadic
#F07FEF #EFF07F #7FEFF0
tetradic
#F07FEF #F0B97F #7FF080 #7FB7F0
square
#F07FEF #F0B97F #7FF080 #7FB7F0
split-complementary
#F07FEF #B7F07F #7FF0B9
monochromatic
#DB1AD9 #EA48E8 #F07FEF #F6B6F6 #FCE4FC

Accessibility & contrast

On white

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

On black

8.99
#F07FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FEF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FEF#FFFFFF#000000##000000
##F07FEF1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#F68BAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07fef;
/* rgb */ color: rgb(240, 127, 239);
/* oklch */ color: oklch(76.1% 0.193 327.6);
Tailwind
colors: {
  custom: {
    50: '#f7a8f4',
    500: '#f07fef',
    950: '#000000',
  },
}
SCSS
$custom: #f07fef;
$custom-light: #f7a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fef",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 300.531,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76056,
    "c": 0.19301,
    "h": 327.6
  },
  "luminance": 0.39936
}

Semantic roles & 50–950 ramp

primary
#F07FEF
secondary
#D7F4D7
accent
#DB0C0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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