#F07DF1#F07DF1

#F07DF1 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.9% C 0.198 H 327.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F07DF1
RGBrgb(240, 125, 241)
HSLhsl(299, 81%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.4%, 48.1%, 0%, 5.5%)
CIE-LABlab(69.15, 59.87, -39.30)
CIE-LCHlch(69.15, 71.61, 326.72°)
OKLaboklab(75.88% 0.166 -0.1078)
OKLCHoklch(75.88% 0.198 327)
XYZxyz(59.1449, 39.5465, 87.7199)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DF1 #7EF17D
analogous
#B67DF1 #F07DF1 #F17DB8
triadic
#F07DF1 #F1F07D #7DF1F0
tetradic
#F07DF1 #F1B67D #7EF17D #7DB8F1
square
#F07DF1 #F1B67D #7EF17D #7DB8F1
split-complementary
#F07DF1 #B8F17D #7DF1B6
monochromatic
#DA18DC #EA46EB #F07DF1 #F6B4F7 #FCE3FC

Accessibility & contrast

On white

2.36
#F07DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F07DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DF1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DF1#FFFFFF#000000##000000
##F07DF11.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF5
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#F68AAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07df1;
/* rgb */ color: rgb(240, 125, 241);
/* oklch */ color: oklch(75.9% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#f7a6f6',
    500: '#f07df1',
    950: '#000000',
  },
}
SCSS
$custom: #f07df1;
$custom-light: #f7a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07df1",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 299.483,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.19793,
    "h": 327
  },
  "luminance": 0.39543
}

Semantic roles & 50–950 ramp

primary
#F07DF1
secondary
#D6F4D6
accent
#DD090A
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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