#F272FA#F272FA

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

Color values

HEX#F272FA
RGBrgb(242, 114, 250)
HSLhsl(296, 93%, 71%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(3.2%, 54.4%, 0%, 2%)
CIE-LABlab(67.89, 67.08, -46.19)
CIE-LCHlch(67.89, 81.44, 325.45°)
OKLaboklab(75.13% 0.1836 -0.1275)
OKLCHoklch(75.13% 0.224 325.2)
XYZxyz(59.8892, 37.8173, 94.5689)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272FA #7AFA72
analogous
#AE72FA #F272FA #FA72BE
triadic
#F272FA #FAF272 #72FAF2
tetradic
#F272FA #FAAE72 #7AFA72 #72BEFA
square
#F272FA #FAAE72 #7AFA72 #72BEFA
split-complementary
#F272FA #BEFA72 #72FAAE
monochromatic
#DC08E9 #ED37F8 #F272FA #F7ADFC #FCE1FE

Accessibility & contrast

On white

2.45
#F272FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F272FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272FA#FFFFFF#000000##000000
##F272FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#F783AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f272fa;
/* rgb */ color: rgb(242, 114, 250);
/* oklch */ color: oklch(75.1% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#f9a0fc',
    500: '#f272fa',
    950: '#000000',
  },
}
SCSS
$custom: #f272fa;
$custom-light: #f9a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f272fa",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 296.471,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.22357,
    "h": 325.2
  },
  "luminance": 0.37814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F272FA

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

Preview Lab → · Contrast checker → · Palette generator →

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