#F07BFB#F07BFB

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

Color values

HEX#F07BFB
RGBrgb(240, 123, 251)
HSLhsl(295, 94%, 73%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4.4%, 51%, 0%, 1.6%)
CIE-LABlab(69.23, 62.58, -44.65)
CIE-LCHlch(69.23, 76.88, 324.49°)
OKLaboklab(76.08% 0.17 -0.1232)
OKLCHoklch(76.08% 0.21 324.1)
XYZxyz(60.4291, 39.6592, 95.7200)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BFB #86FB7B
analogous
#B07BFB #F07BFB #FB7BC6
triadic
#F07BFB #FBF07B #7BFBF0
tetradic
#F07BFB #FBB07B #86FB7B #7BC6FB
square
#F07BFB #FBB07B #86FB7B #7BC6FB
split-complementary
#F07BFB #C6FB7B #7BFBB0
monochromatic
#E007F4 #E940F9 #F07BFB #F7B6FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.93
#F07BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BFB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BFB#FFFFFF#000000##000000
##F07BFB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#F48BB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07bfb;
/* rgb */ color: rgb(240, 123, 251);
/* oklch */ color: oklch(76.1% 0.210 324.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5fd',
    500: '#f07bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f07bfb;
$custom-light: #f7a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bfb",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 294.844,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76079,
    "c": 0.20997,
    "h": 324.1
  },
  "luminance": 0.39656
}

Semantic roles & 50–950 ramp

primary
#F07BFB
secondary
#D8F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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