#F271E9#F271E9

#F271E9 is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.2% C 0.211 H 330.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F271E9
RGBrgb(242, 113, 233)
HSLhsl(304, 83%, 70%)
HSVhsv(304, 53%, 95%)
CMYKcmyk(0%, 53.3%, 3.7%, 5.1%)
CIE-LABlab(66.96, 64.64, -38.28)
CIE-LCHlch(66.96, 75.13, 329.37°)
OKLaboklab(74.2% 0.1828 -0.1048)
OKLCHoklch(74.2% 0.211 330.2)
XYZxyz(57.2306, 36.5743, 81.1201)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271E9 #71F27A
analogous
#BB71F2 #F271E9 #F271A9
triadic
#F271E9 #E9F271 #71E9F2
tetradic
#F271E9 #F2BB71 #71F27A #71A9F2
square
#F271E9 #F2BB71 #71F27A #71A9F2
split-complementary
#F271E9 #A9F271 #71F2BB
monochromatic
#D514C8 #ED39E0 #F271E9 #F7A9F2 #FCE1FA

Accessibility & contrast

On white

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

On black

8.31
#F271E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271E9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271E9#FFFFFF#000000##000000
##F271E91.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998ED
Deuteranopia (green-blind)
#91A9E5
Tritanopia (blue-blind)
#FA7DA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f271e9;
/* rgb */ color: rgb(242, 113, 233);
/* oklch */ color: oklch(74.2% 0.211 330.2);
Tailwind
colors: {
  custom: {
    50: '#f99ff0',
    500: '#f271e9',
    950: '#000000',
  },
}
SCSS
$custom: #f271e9;
$custom-light: #f99ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#f271e9",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 304.186,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.21071,
    "h": 330.2
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#F271E9
secondary
#CDF2D0
accent
#E01506
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F271E9

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

Preview Lab → · Contrast checker → · Palette generator →

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