#F070F8#F070F8

#F070F8 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.5% C 0.224 H 325.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F070F8
RGBrgb(240, 112, 248)
HSLhsl(296, 91%, 71%)
HSVhsv(296, 55%, 97%)
CMYKcmyk(3.2%, 54.8%, 0%, 2.7%)
CIE-LABlab(67.20, 67.12, -46.19)
CIE-LCHlch(67.20, 81.48, 325.46°)
OKLaboklab(74.54% 0.1837 -0.1276)
OKLCHoklch(74.54% 0.224 325.2)
XYZxyz(58.6713, 36.8941, 92.8196)
Luminance0.3689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F070F8 #78F870
analogous
#AC70F8 #F070F8 #F870BC
triadic
#F070F8 #F8F070 #70F8F0
tetradic
#F070F8 #F8AC70 #78F870 #70BCF8
square
#F070F8 #F8AC70 #78F870 #70BCF8
split-complementary
#F070F8 #BCF870 #70F8AC
monochromatic
#D60BE3 #EA36F5 #F070F8 #F6AAFB #FCE2FE

Accessibility & contrast

On white

2.51
#F070F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F070F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F070F8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F070F8#FFFFFF#000000##000000
##F070F81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#F581AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f070f8;
/* rgb */ color: rgb(240, 112, 248);
/* oklch */ color: oklch(74.5% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#f89ffb',
    500: '#f070f8',
    950: '#000000',
  },
}
SCSS
$custom: #f070f8;
$custom-light: #f89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f070f8",
  "rgb": {
    "r": 240,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 296.471,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.22367,
    "h": 325.2
  },
  "luminance": 0.36891
}

Semantic roles & 50–950 ramp

primary
#F070F8
secondary
#D2F4CF
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F070F8

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

Preview Lab → · Contrast checker → · Palette generator →

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