#F07BFC#F07BFC

#F07BFC is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.1% C 0.211 H 323.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F07BFC
RGBrgb(240, 123, 252)
HSLhsl(294, 96%, 74%)
HSVhsv(294, 51%, 99%)
CMYKcmyk(4.8%, 51.2%, 0%, 1.2%)
CIE-LABlab(69.27, 62.76, -45.13)
CIE-LCHlch(69.27, 77.30, 324.28°)
OKLaboklab(76.13% 0.1701 -0.1246)
OKLCHoklch(76.13% 0.211 323.8)
XYZxyz(60.5872, 39.7224, 96.5524)
Luminance0.3972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BFC #87FC7B
analogous
#AF7BFC #F07BFC #FC7BC7
triadic
#F07BFC #FCF07B #7BFCF0
tetradic
#F07BFC #FCAF7B #87FC7B #7BC7FC
square
#F07BFC #FCAF7B #87FC7B #7BC7FC
split-complementary
#F07BFC #C7FC7B #7BFCAF
monochromatic
#E106F7 #E93FFB #F07BFC #F7B7FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.94
#F07BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BFC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BFC#FFFFFF#000000##000000
##F07BFC1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07bfc;
/* rgb */ color: rgb(240, 123, 252);
/* oklch */ color: oklch(76.1% 0.211 323.8);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#f07bfc',
    950: '#000000',
  },
}
SCSS
$custom: #f07bfc;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bfc",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 294.419,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76127,
    "c": 0.21087,
    "h": 323.8
  },
  "luminance": 0.39719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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