#F07DF2#F07DF2

#F07DF2 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.9% C 0.199 H 326.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F07DF2
RGBrgb(240, 125, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(69.19, 60.04, -39.78)
CIE-LCHlch(69.19, 72.02, 326.47°)
OKLaboklab(75.92% 0.1661 -0.1092)
OKLCHoklch(75.92% 0.199 326.7)
XYZxyz(59.2947, 39.6065, 88.5088)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DF2 #7FF27D
analogous
#B57DF2 #F07DF2 #F27DBA
triadic
#F07DF2 #F2F07D #7DF2F0
tetradic
#F07DF2 #F2B57D #7FF27D #7DBAF2
square
#F07DF2 #F2B57D #7FF27D #7DBAF2
split-complementary
#F07DF2 #BAF27D #7DF2B5
monochromatic
#DB16DE #EA45EC #F07DF2 #F6B5F8 #FCE3FC

Accessibility & contrast

On white

2.35
#F07DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F07DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DF2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DF2#FFFFFF#000000##000000
##F07DF21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F6
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#F68AAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07df2;
/* rgb */ color: rgb(240, 125, 242);
/* oklch */ color: oklch(75.9% 0.199 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7f6',
    500: '#f07df2',
    950: '#000000',
  },
}
SCSS
$custom: #f07df2;
$custom-light: #f7a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07df2",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 298.974,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75921,
    "c": 0.19882,
    "h": 326.7
  },
  "luminance": 0.39603
}

Semantic roles & 50–950 ramp

primary
#F07DF2
secondary
#D7F4D7
accent
#DE070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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