#F07FDF#F07FDF

#F07FDF is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.4% C 0.179 H 333.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F07FDF
RGBrgb(240, 127, 223)
HSLhsl(309, 79%, 72%)
HSVhsv(309, 47%, 94%)
CMYKcmyk(0%, 47.1%, 7.1%, 5.9%)
CIE-LABlab(68.78, 55.84, -29.94)
CIE-LCHlch(68.78, 63.36, 331.80°)
OKLaboklab(75.36% 0.16 -0.0812)
OKLCHoklch(75.36% 0.179 333.1)
XYZxyz(56.8436, 39.0352, 74.3382)
Luminance0.3903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDF #7FF090
analogous
#C97FF0 #F07FDF #F07FA6
triadic
#F07FDF #DFF07F #7FDFF0
tetradic
#F07FDF #F0C97F #7FF090 #7FA6F0
square
#F07FDF #F0C97F #7FF090 #7FA6F0
split-complementary
#F07FDF #A6F07F #7FF0C9
monochromatic
#DB1ABE #EA48D1 #F07FDF #F6B6ED #FCE4F8

Accessibility & contrast

On white

2.38
#F07FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#F07FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDF#FFFFFF#000000##000000
##F07FDF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE2
Deuteranopia (green-blind)
#9CAEDC
Tritanopia (blue-blind)
#F986A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07fdf;
/* rgb */ color: rgb(240, 127, 223);
/* oklch */ color: oklch(75.4% 0.179 333.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7e9',
    500: '#f07fdf',
    950: '#000000',
  },
}
SCSS
$custom: #f07fdf;
$custom-light: #f7a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fdf",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 309.027,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7536,
    "c": 0.17939,
    "h": 333.1
  },
  "luminance": 0.39032
}

Semantic roles & 50–950 ramp

primary
#F07FDF
secondary
#D7F4DC
accent
#DB2A0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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