#F07BF7#F07BF7

#F07BF7 is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.9% C 0.206 H 325.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#F07BF7
RGBrgb(240, 123, 247)
HSLhsl(297, 89%, 73%)
HSVhsv(297, 50%, 97%)
CMYKcmyk(2.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(69.05, 61.87, -42.74)
CIE-LCHlch(69.05, 75.20, 325.36°)
OKLaboklab(75.89% 0.1695 -0.1177)
OKLCHoklch(75.89% 0.206 325.2)
XYZxyz(59.8053, 39.4097, 92.4343)
Luminance0.3941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BF7 #82F77B
analogous
#B27BF7 #F07BF7 #F77BC0
triadic
#F07BF7 #F7F07B #7BF7F0
tetradic
#F07BF7 #F7B27B #82F77B #7BC0F7
square
#F07BF7 #F7B27B #82F77B #7BC0F7
split-complementary
#F07BF7 #C0F77B #7BF7B2
monochromatic
#DD0EE9 #E941F4 #F07BF7 #F7B5FA #FCE2FD

Accessibility & contrast

On white

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

On black

8.88
#F07BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BF7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BF7#FFFFFF#000000##000000
##F07BF71.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#90AEF3
Tritanopia (blue-blind)
#F58AAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07bf7;
/* rgb */ color: rgb(240, 123, 247);
/* oklch */ color: oklch(75.9% 0.206 325.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5fa',
    500: '#f07bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f07bf7;
$custom-light: #f7a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bf7",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 296.613,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.20637,
    "h": 325.2
  },
  "luminance": 0.39407
}

Semantic roles & 50–950 ramp

primary
#F07BF7
secondary
#D7F5D6
accent
#E5000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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