#F270F7#F270F7

#F270F7 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.224 H 326.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F270F7
RGBrgb(242, 112, 247)
HSLhsl(298, 89%, 70%)
HSVhsv(298, 55%, 97%)
CMYKcmyk(2%, 54.7%, 0%, 3.1%)
CIE-LABlab(67.42, 67.45, -45.28)
CIE-LCHlch(67.42, 81.24, 326.13°)
OKLaboklab(74.74% 0.1858 -0.1249)
OKLCHoklch(74.74% 0.224 326.1)
XYZxyz(59.1994, 37.1844, 92.0368)
Luminance0.3718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270F7 #75F770
analogous
#AF70F7 #F270F7 #F770B8
triadic
#F270F7 #F7F270 #70F7F2
tetradic
#F270F7 #F7AF70 #75F770 #70B8F7
square
#F270F7 #F7AF70 #75F770 #70B8F7
split-complementary
#F270F7 #B8F770 #70F7AF
monochromatic
#D80DE0 #ED36F4 #F270F7 #F7AAFA #FCE2FD

Accessibility & contrast

On white

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

On black

8.44
#F270F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270F7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270F7#FFFFFF#000000##000000
##F270F71.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFB
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#F881A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f270f7;
/* rgb */ color: rgb(242, 112, 247);
/* oklch */ color: oklch(74.7% 0.224 326.1);
Tailwind
colors: {
  custom: {
    50: '#f99ffa',
    500: '#f270f7',
    950: '#000000',
  },
}
SCSS
$custom: #f270f7;
$custom-light: #f99ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#f270f7",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 297.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.22389,
    "h": 326.1
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#F270F7
secondary
#D0F4CF
accent
#E60008
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270F7

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

Preview Lab → · Contrast checker → · Palette generator →

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