#F07DDE#F07DDE

#F07DDE is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.0% C 0.182 H 333.4°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#F07DDE
RGBrgb(240, 125, 222)
HSLhsl(309, 79%, 72%)
HSVhsv(309, 48%, 94%)
CMYKcmyk(0%, 47.9%, 7.5%, 5.9%)
CIE-LABlab(68.37, 56.65, -30.02)
CIE-LCHlch(68.37, 64.11, 332.08°)
OKLaboklab(75.04% 0.1625 -0.0814)
OKLCHoklch(75.04% 0.182 333.4)
XYZxyz(56.4535, 38.4700, 73.5451)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DDE #7DF08F
analogous
#C97DF0 #F07DDE #F07DA5
triadic
#F07DDE #DEF07D #7DDEF0
tetradic
#F07DDE #F0C97D #7DF08F #7DA5F0
square
#F07DDE #F0C97D #7DF08F #7DA5F0
split-complementary
#F07DDE #A5F07D #7DF0C9
monochromatic
#DA19BB #EA46D0 #F07DDE #F6B4EC #FCE4F8

Accessibility & contrast

On white

2.42
#F07DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#F07DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DDE
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DDE#FFFFFF#000000##000000
##F07DDE1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE1
Deuteranopia (green-blind)
#9BADDB
Tritanopia (blue-blind)
#F984A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07dde;
/* rgb */ color: rgb(240, 125, 222);
/* oklch */ color: oklch(75.0% 0.182 333.4);
Tailwind
colors: {
  custom: {
    50: '#f7a6e8',
    500: '#f07dde',
    950: '#000000',
  },
}
SCSS
$custom: #f07dde;
$custom-light: #f7a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dde",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 309.391,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75041,
    "c": 0.1818,
    "h": 333.4
  },
  "luminance": 0.38466
}

Semantic roles & 50–950 ramp

primary
#F07DDE
secondary
#D6F3DA
accent
#DC2B0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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