#F07FE3#F07FE3

#F07FE3 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.5% C 0.183 H 331.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#F07FE3
RGBrgb(240, 127, 227)
HSLhsl(307, 79%, 72%)
HSVhsv(307, 47%, 94%)
CMYKcmyk(0%, 47.1%, 5.4%, 5.9%)
CIE-LABlab(68.93, 56.51, -31.91)
CIE-LCHlch(68.93, 64.90, 330.55°)
OKLaboklab(75.53% 0.1608 -0.0868)
OKLCHoklch(75.53% 0.183 331.6)
XYZxyz(57.3893, 39.2535, 77.2120)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FE3 #7FF08C
analogous
#C57FF0 #F07FE3 #F07FAA
triadic
#F07FE3 #E3F07F #7FE3F0
tetradic
#F07FE3 #F0C57F #7FF08C #7FAAF0
square
#F07FE3 #F0C57F #7FF08C #7FAAF0
split-complementary
#F07FE3 #AAF07F #7FF0C5
monochromatic
#DB1AC5 #EA48D7 #F07FE3 #F6B6EF #FCE4F9

Accessibility & contrast

On white

2.37
#F07FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#F07FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FE3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FE3#FFFFFF#000000##000000
##F07FE31.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE6
Deuteranopia (green-blind)
#9BAEE0
Tritanopia (blue-blind)
#F887A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07fe3;
/* rgb */ color: rgb(240, 127, 227);
/* oklch */ color: oklch(75.5% 0.183 331.6);
Tailwind
colors: {
  custom: {
    50: '#f7a8ec',
    500: '#f07fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f07fe3;
$custom-light: #f7a8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fe3",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 306.903,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75529,
    "c": 0.1827,
    "h": 331.6
  },
  "luminance": 0.3925
}

Semantic roles & 50–950 ramp

primary
#F07FE3
secondary
#D7F4DA
accent
#DB220A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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