#F070F2#F070F2

#F070F2 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.3% C 0.219 H 326.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F070F2
RGBrgb(240, 112, 242)
HSLhsl(299, 83%, 69%)
HSVhsv(299, 54%, 95%)
CMYKcmyk(0.8%, 53.7%, 0%, 5.1%)
CIE-LABlab(66.92, 66.08, -43.33)
CIE-LCHlch(66.92, 79.02, 326.75°)
OKLaboklab(74.25% 0.1831 -0.1193)
OKLCHoklch(74.25% 0.219 326.9)
XYZxyz(57.7553, 36.5278, 87.9957)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F070F2 #72F270
analogous
#AF70F2 #F070F2 #F270B3
triadic
#F070F2 #F2F070 #70F2F0
tetradic
#F070F2 #F2AF70 #72F270 #70B3F2
square
#F070F2 #F2AF70 #72F270 #70B3F2
split-complementary
#F070F2 #B3F270 #70F2AF
monochromatic
#D113D4 #EA38ED #F070F2 #F6A8F7 #FCE0FC

Accessibility & contrast

On white

2.53
#F070F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F070F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F070F2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F070F2#FFFFFF#000000##000000
##F070F21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#F67FA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f070f2;
/* rgb */ color: rgb(240, 112, 242);
/* oklch */ color: oklch(74.3% 0.219 326.9);
Tailwind
colors: {
  custom: {
    50: '#f89ff7',
    500: '#f070f2',
    950: '#000000',
  },
}
SCSS
$custom: #f070f2;
$custom-light: #f89ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f070f2",
  "rgb": {
    "r": 240,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 299.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74251,
    "c": 0.21853,
    "h": 326.9
  },
  "luminance": 0.36524
}

Semantic roles & 50–950 ramp

primary
#F070F2
secondary
#CDF2CC
accent
#E00609
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F070F2

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

Preview Lab → · Contrast checker → · Palette generator →

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