#F07DEC#F07DEC

#F07DEC is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.6% C 0.194 H 328.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#F07DEC
RGBrgb(240, 125, 236)
HSLhsl(302, 79%, 72%)
HSVhsv(302, 48%, 94%)
CMYKcmyk(0%, 47.9%, 1.7%, 5.9%)
CIE-LABlab(68.93, 59.00, -36.88)
CIE-LCHlch(68.93, 69.58, 327.99°)
OKLaboklab(75.65% 0.1652 -0.1009)
OKLCHoklch(75.65% 0.194 328.6)
XYZxyz(58.4083, 39.2519, 83.8405)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DEC #7DF081
analogous
#BB7DF0 #F07DEC #F07DB3
triadic
#F07DEC #ECF07D #7DECF0
tetradic
#F07DEC #F0BB7D #7DF081 #7DB3F0
square
#F07DEC #F0BB7D #7DF081 #7DB3F0
split-complementary
#F07DEC #B3F07D #7DF0BB
monochromatic
#DA19D3 #EA46E4 #F07DEC #F6B4F4 #FCE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07DEC#FFFFFF#000000##000000
##F07DEC1.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)
#759EF0
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#F788AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07dec;
/* rgb */ color: rgb(240, 125, 236);
/* oklch */ color: oklch(75.6% 0.194 328.6);
Tailwind
colors: {
  custom: {
    50: '#f7a6f2',
    500: '#f07dec',
    950: '#000000',
  },
}
SCSS
$custom: #f07dec;
$custom-light: #f7a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dec",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 302.087,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75649,
    "c": 0.19356,
    "h": 328.6
  },
  "luminance": 0.39249
}

Semantic roles & 50–950 ramp

primary
#F07DEC
secondary
#D6F3D7
accent
#DC110A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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