#F07FEA#F07FEA

#F07FEA is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.8% C 0.189 H 329.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#F07FEA
RGBrgb(240, 127, 234)
HSLhsl(303, 79%, 72%)
HSVhsv(303, 47%, 94%)
CMYKcmyk(0%, 47.1%, 2.5%, 5.9%)
CIE-LABlab(69.22, 57.69, -35.33)
CIE-LCHlch(69.22, 67.65, 328.51°)
OKLaboklab(75.83% 0.1621 -0.0965)
OKLCHoklch(75.83% 0.189 329.2)
XYZxyz(58.3751, 39.6478, 82.4040)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FEA #7FF085
analogous
#BE7FF0 #F07FEA #F07FB2
triadic
#F07FEA #EAF07F #7FEAF0
tetradic
#F07FEA #F0BE7F #7FF085 #7FB2F0
square
#F07FEA #F0BE7F #7FF085 #7FB2F0
split-complementary
#F07FEA #B2F07F #7FF0BE
monochromatic
#DB1AD1 #EA48E1 #F07FEA #F6B6F3 #FCE4FB

Accessibility & contrast

On white

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

On black

8.93
#F07FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FEA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FEA#FFFFFF#000000##000000
##F07FEA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEE
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#F789AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07fea;
/* rgb */ color: rgb(240, 127, 234);
/* oklch */ color: oklch(75.8% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7a8f1',
    500: '#f07fea',
    950: '#000000',
  },
}
SCSS
$custom: #f07fea;
$custom-light: #f7a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fea",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 303.186,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75833,
    "c": 0.18865,
    "h": 329.2
  },
  "luminance": 0.39645
}

Semantic roles & 50–950 ramp

primary
#F07FEA
secondary
#D7F4D9
accent
#DB150A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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