#F07EDE#F07EDE

#F07EDE is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.180 H 333.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F07EDE
RGBrgb(240, 126, 222)
HSLhsl(309, 79%, 72%)
HSVhsv(309, 48%, 94%)
CMYKcmyk(0%, 47.5%, 7.5%, 5.9%)
CIE-LABlab(68.55, 56.17, -29.74)
CIE-LCHlch(68.55, 63.55, 332.10°)
OKLaboklab(75.18% 0.1611 -0.0806)
OKLCHoklch(75.18% 0.18 333.4)
XYZxyz(56.5807, 38.7244, 73.5875)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EDE #7EF090
analogous
#C97EF0 #F07EDE #F07EA5
triadic
#F07EDE #DEF07E #7EDEF0
tetradic
#F07EDE #F0C97E #7EF090 #7EA5F0
square
#F07EDE #F0C97E #7EF090 #7EA5F0
split-complementary
#F07EDE #A5F07E #7EF0C9
monochromatic
#DA19BC #EA47D0 #F07EDE #F6B5EC #FCE4F8

Accessibility & contrast

On white

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

On black

8.74
#F07EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EDE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EDE#FFFFFF#000000##000000
##F07EDE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07ede;
/* rgb */ color: rgb(240, 126, 222);
/* oklch */ color: oklch(75.2% 0.180 333.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7e8',
    500: '#f07ede',
    950: '#000000',
  },
}
SCSS
$custom: #f07ede;
$custom-light: #f7a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ede",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 309.474,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7518,
    "c": 0.1802,
    "h": 333.4
  },
  "luminance": 0.38721
}

Semantic roles & 50–950 ramp

primary
#F07EDE
secondary
#D6F3DB
accent
#DB2B0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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