#F07EDF#F07EDF

#F07EDF is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.2% C 0.181 H 333.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F07EDF
RGBrgb(240, 126, 223)
HSLhsl(309, 79%, 72%)
HSVhsv(309, 48%, 94%)
CMYKcmyk(0%, 47.5%, 7.1%, 5.9%)
CIE-LABlab(68.59, 56.33, -30.23)
CIE-LCHlch(68.59, 63.93, 331.78°)
OKLaboklab(75.22% 0.1614 -0.082)
OKLCHoklch(75.22% 0.181 333.1)
XYZxyz(56.7151, 38.7782, 74.2954)
Luminance0.3877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EDF #7EF08F
analogous
#C87EF0 #F07EDF #F07EA6
triadic
#F07EDF #DFF07E #7EDFF0
tetradic
#F07EDF #F0C87E #7EF08F #7EA6F0
square
#F07EDF #F0C87E #7EF08F #7EA6F0
split-complementary
#F07EDF #A6F07E #7EF0C8
monochromatic
#DA19BD #EA47D1 #F07EDF #F6B5ED #FCE4F8

Accessibility & contrast

On white

2.40
#F07EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F07EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EDF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EDF#FFFFFF#000000##000000
##F07EDF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#F985A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07edf;
/* rgb */ color: rgb(240, 126, 223);
/* oklch */ color: oklch(75.2% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7e9',
    500: '#f07edf',
    950: '#000000',
  },
}
SCSS
$custom: #f07edf;
$custom-light: #f7a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07edf",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 308.947,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75221,
    "c": 0.181,
    "h": 333.1
  },
  "luminance": 0.38775
}

Semantic roles & 50–950 ramp

primary
#F07EDF
secondary
#D6F3DB
accent
#DB290A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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