#F271EE#F271EE

#F271EE is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.4% C 0.215 H 328.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F271EE
RGBrgb(242, 113, 238)
HSLhsl(302, 83%, 70%)
HSVhsv(302, 53%, 95%)
CMYKcmyk(0%, 53.3%, 1.7%, 5.1%)
CIE-LABlab(67.17, 65.48, -40.70)
CIE-LCHlch(67.17, 77.10, 328.13°)
OKLaboklab(74.43% 0.1835 -0.1117)
OKLCHoklch(74.43% 0.215 328.7)
XYZxyz(57.9550, 36.8641, 84.9352)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271EE #71F275
analogous
#B571F2 #F271EE #F271AE
triadic
#F271EE #EEF271 #71EEF2
tetradic
#F271EE #F2B571 #71F275 #71AEF2
square
#F271EE #F2B571 #71F275 #71AEF2
split-complementary
#F271EE #AEF271 #71F2B5
monochromatic
#D514CF #ED39E7 #F271EE #F7A9F5 #FCE1FB

Accessibility & contrast

On white

2.51
#F271EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F271EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271EE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271EE#FFFFFF#000000##000000
##F271EE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F2
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#F97EA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f271ee;
/* rgb */ color: rgb(242, 113, 238);
/* oklch */ color: oklch(74.4% 0.215 328.7);
Tailwind
colors: {
  custom: {
    50: '#f99ff4',
    500: '#f271ee',
    950: '#000000',
  },
}
SCSS
$custom: #f271ee;
$custom-light: #f99ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f271ee",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 301.86,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.21483,
    "h": 328.7
  },
  "luminance": 0.36861
}

Semantic roles & 50–950 ramp

primary
#F271EE
secondary
#CDF2CE
accent
#E00D06
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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