#F070FC#F070FC

#F070FC is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.7% C 0.227 H 324.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F070FC
RGBrgb(240, 112, 252)
HSLhsl(295, 96%, 71%)
HSVhsv(295, 56%, 99%)
CMYKcmyk(4.8%, 55.6%, 0%, 1.2%)
CIE-LABlab(67.39, 67.82, -48.09)
CIE-LCHlch(67.39, 83.14, 324.66°)
OKLaboklab(74.74% 0.1841 -0.1331)
OKLCHoklch(74.74% 0.227 324.1)
XYZxyz(59.2985, 37.1450, 96.1229)
Luminance0.3714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F070FC #7CFC70
analogous
#AA70FC #F070FC #FC70C2
triadic
#F070FC #FCF070 #70FCF0
tetradic
#F070FC #FCAA70 #7CFC70 #70C2FC
square
#F070FC #FCAA70 #7CFC70 #70C2FC
split-complementary
#F070FC #C2FC70 #70FCAA
monochromatic
#D905ED #EA34FB #F070FC #F6ACFD #FCE1FE

Accessibility & contrast

On white

2.49
#F070FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#F070FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F070FC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F070FC#FFFFFF#000000##000000
##F070FC1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#F483AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f070fc;
/* rgb */ color: rgb(240, 112, 252);
/* oklch */ color: oklch(74.7% 0.227 324.1);
Tailwind
colors: {
  custom: {
    50: '#f89ffe',
    500: '#f070fc',
    950: '#000000',
  },
}
SCSS
$custom: #f070fc;
$custom-light: #f89ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f070fc",
  "rgb": {
    "r": 240,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 294.857,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74743,
    "c": 0.22715,
    "h": 324.1
  },
  "luminance": 0.37142
}

Semantic roles & 50–950 ramp

primary
#F070FC
secondary
#D5F6D2
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F070FC

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

Preview Lab → · Contrast checker → · Palette generator →

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