#F07BF8#F07BF8

#F07BF8 is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 75.9% C 0.207 H 324.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#F07BF8
RGBrgb(240, 123, 248)
HSLhsl(296, 90%, 73%)
HSVhsv(296, 50%, 97%)
CMYKcmyk(3.2%, 50.4%, 0%, 2.7%)
CIE-LABlab(69.09, 62.05, -43.22)
CIE-LCHlch(69.09, 75.62, 325.14°)
OKLaboklab(75.94% 0.1696 -0.1191)
OKLCHoklch(75.94% 0.207 324.9)
XYZxyz(59.9600, 39.4716, 93.2492)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BF8 #83F87B
analogous
#B17BF8 #F07BF8 #F87BC1
triadic
#F07BF8 #F8F07B #7BF8F0
tetradic
#F07BF8 #F8B17B #83F87B #7BC1F8
square
#F07BF8 #F8B17B #83F87B #7BC1F8
split-complementary
#F07BF8 #C1F87B #7BF8B1
monochromatic
#DE0DEC #E941F5 #F07BF8 #F7B5FB #FCE2FD

Accessibility & contrast

On white

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

On black

8.89
#F07BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BF8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BF8#FFFFFF#000000##000000
##F07BF81.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#8FAEF4
Tritanopia (blue-blind)
#F58AAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07bf8;
/* rgb */ color: rgb(240, 123, 248);
/* oklch */ color: oklch(75.9% 0.207 324.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5fb',
    500: '#f07bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f07bf8;
$custom-light: #f7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bf8",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 296.16,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75936,
    "c": 0.20727,
    "h": 324.9
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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