#F271F9#F271F9

#F271F9 is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 75.0% C 0.224 H 325.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F271F9
RGBrgb(242, 113, 249)
HSLhsl(297, 92%, 71%)
HSVhsv(297, 55%, 98%)
CMYKcmyk(2.8%, 54.6%, 0%, 2.4%)
CIE-LABlab(67.67, 67.35, -45.98)
CIE-LCHlch(67.67, 81.55, 325.68°)
OKLaboklab(74.96% 0.1848 -0.1269)
OKLCHoklch(74.96% 0.224 325.5)
XYZxyz(59.6207, 37.5304, 93.7079)
Luminance0.3753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271F9 #78F971
analogous
#AE71F9 #F271F9 #F971BC
triadic
#F271F9 #F9F271 #71F9F2
tetradic
#F271F9 #F9AE71 #78F971 #71BCF9
square
#F271F9 #F9AE71 #78F971 #71BCF9
split-complementary
#F271F9 #BCF971 #71F9AE
monochromatic
#DB0AE6 #ED36F7 #F271F9 #F7ACFB #FCE2FE

Accessibility & contrast

On white

2.47
#F271F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#F271F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271F9
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271F9#FFFFFF#000000##000000
##F271F91.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFD
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#F782AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f271f9;
/* rgb */ color: rgb(242, 113, 249);
/* oklch */ color: oklch(75.0% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#f9a0fc',
    500: '#f271f9',
    950: '#000000',
  },
}
SCSS
$custom: #f271f9;
$custom-light: #f9a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f271f9",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 296.912,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.22415,
    "h": 325.5
  },
  "luminance": 0.37527
}

Semantic roles & 50–950 ramp

primary
#F271F9
secondary
#D3F5D1
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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