#F07BFE#F07BFE

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

Color values

HEX#F07BFE
RGBrgb(240, 123, 254)
HSLhsl(294, 98%, 74%)
HSVhsv(294, 52%, 100%)
CMYKcmyk(5.5%, 51.6%, 0%, 0.4%)
CIE-LABlab(69.36, 63.12, -46.08)
CIE-LCHlch(69.36, 78.15, 323.87°)
OKLaboklab(76.22% 0.1704 -0.1273)
OKLCHoklch(76.22% 0.213 323.2)
XYZxyz(60.9058, 39.8499, 98.2304)
Luminance0.3985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BFE #89FE7B
analogous
#AF7BFE #F07BFE #FE7BCB
triadic
#F07BFE #FEF07B #7BFEF0
tetradic
#F07BFE #FEAF7B #89FE7B #7BCBFE
square
#F07BFE #FEAF7B #89FE7B #7BCBFE
split-complementary
#F07BFE #CBFE7B #7BFEAF
monochromatic
#E202FD #E93EFE #F07BFE #F7B8FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.97
#F07BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BFE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BFE#FFFFFF#000000##000000
##F07BFE1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07bfe;
/* rgb */ color: rgb(240, 123, 254);
/* oklch */ color: oklch(76.2% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5ff',
    500: '#f07bfe',
    950: '#000000',
  },
}
SCSS
$custom: #f07bfe;
$custom-light: #f7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bfe",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 293.588,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76224,
    "c": 0.2127,
    "h": 323.2
  },
  "luminance": 0.39847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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