#F270F8#F270F8

#F270F8 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.8% C 0.225 H 325.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F270F8
RGBrgb(242, 112, 248)
HSLhsl(297, 91%, 71%)
HSVhsv(297, 55%, 97%)
CMYKcmyk(2.4%, 54.8%, 0%, 2.7%)
CIE-LABlab(67.46, 67.63, -45.76)
CIE-LCHlch(67.46, 81.65, 325.92°)
OKLaboklab(74.79% 0.1859 -0.1263)
OKLCHoklch(74.79% 0.225 325.8)
XYZxyz(59.3542, 37.2462, 92.8517)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270F8 #76F870
analogous
#AE70F8 #F270F8 #F870BA
triadic
#F270F8 #F8F270 #70F8F2
tetradic
#F270F8 #F8AE70 #76F870 #70BAF8
square
#F270F8 #F8AE70 #76F870 #70BAF8
split-complementary
#F270F8 #BAF870 #70F8AE
monochromatic
#D90BE3 #ED36F5 #F270F8 #F7AAFB #FCE2FE

Accessibility & contrast

On white

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

On black

8.45
#F270F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270F8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270F8#FFFFFF#000000##000000
##F270F81.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#F881AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f270f8;
/* rgb */ color: rgb(242, 112, 248);
/* oklch */ color: oklch(74.8% 0.225 325.8);
Tailwind
colors: {
  custom: {
    50: '#f99ffb',
    500: '#f270f8',
    950: '#000000',
  },
}
SCSS
$custom: #f270f8;
$custom-light: #f99ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f270f8",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 297.353,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.22474,
    "h": 325.8
  },
  "luminance": 0.37243
}

Semantic roles & 50–950 ramp

primary
#F270F8
secondary
#D1F4CF
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270F8

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

Preview Lab → · Contrast checker → · Palette generator →

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