#F07BFD#F07BFD

#F07BFD is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.212 H 323.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F07BFD
RGBrgb(240, 123, 253)
HSLhsl(294, 97%, 74%)
HSVhsv(294, 51%, 99%)
CMYKcmyk(5.1%, 51.4%, 0%, 0.8%)
CIE-LABlab(69.32, 62.94, -45.60)
CIE-LCHlch(69.32, 77.73, 324.08°)
OKLaboklab(76.18% 0.1703 -0.1259)
OKLCHoklch(76.18% 0.212 323.5)
XYZxyz(60.7461, 39.7860, 97.3892)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BFD #88FD7B
analogous
#AF7BFD #F07BFD #FD7BC9
triadic
#F07BFD #FDF07B #7BFDF0
tetradic
#F07BFD #FDAF7B #88FD7B #7BC9FD
square
#F07BFD #FDAF7B #88FD7B #7BC9FD
split-complementary
#F07BFD #C9FD7B #7BFDAF
monochromatic
#E104FA #E93FFC #F07BFD #F7B7FE #FCE1FF

Accessibility & contrast

On white

2.34
#F07BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F07BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BFD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BFD#FFFFFF#000000##000000
##F07BFD1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#F48CB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07bfd;
/* rgb */ color: rgb(240, 123, 253);
/* oklch */ color: oklch(76.2% 0.212 323.5);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#f07bfd',
    950: '#000000',
  },
}
SCSS
$custom: #f07bfd;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bfd",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 294,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.21178,
    "h": 323.5
  },
  "luminance": 0.39783
}

Semantic roles & 50–950 ramp

primary
#F07BFD
secondary
#D8F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F07BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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