#F07BF4#F07BF4

#F07BF4 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.204 H 326.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F07BF4
RGBrgb(240, 123, 244)
HSLhsl(298, 85%, 72%)
HSVhsv(298, 50%, 96%)
CMYKcmyk(1.6%, 49.6%, 0%, 4.3%)
CIE-LABlab(68.91, 61.34, -41.30)
CIE-LCHlch(68.91, 73.95, 326.05°)
OKLaboklab(75.75% 0.1691 -0.1136)
OKLCHoklch(75.75% 0.204 326.1)
XYZxyz(59.3461, 39.2260, 90.0158)
Luminance0.3922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BF4 #7FF47B
analogous
#B47BF4 #F07BF4 #F47BBB
triadic
#F07BF4 #F4F07B #7BF4F0
tetradic
#F07BF4 #F4B47B #7FF47B #7BBBF4
square
#F07BF4 #F4B47B #7FF47B #7BBBF4
split-complementary
#F07BF4 #BBF47B #7BF4B4
monochromatic
#DB13E2 #EA43EF #F07BF4 #F6B3F9 #FCE3FD

Accessibility & contrast

On white

2.37
#F07BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F07BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BF4
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BF4#FFFFFF#000000##000000
##F07BF41.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF8
Deuteranopia (green-blind)
#91ADF0
Tritanopia (blue-blind)
#F589AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07bf4;
/* rgb */ color: rgb(240, 123, 244);
/* oklch */ color: oklch(75.7% 0.204 326.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5f8',
    500: '#f07bf4',
    950: '#000000',
  },
}
SCSS
$custom: #f07bf4;
$custom-light: #f7a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bf4",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 298.017,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.2037,
    "h": 326.1
  },
  "luminance": 0.39223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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