#F271ED#F271ED

#F271ED is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.4% C 0.214 H 329.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F271ED
RGBrgb(242, 113, 237)
HSLhsl(302, 83%, 70%)
HSVhsv(302, 53%, 95%)
CMYKcmyk(0%, 53.3%, 2.1%, 5.1%)
CIE-LABlab(67.13, 65.31, -40.22)
CIE-LCHlch(67.13, 76.70, 328.37°)
OKLaboklab(74.39% 0.1834 -0.1103)
OKLCHoklch(74.39% 0.214 329)
XYZxyz(57.8085, 36.8055, 84.1637)
Luminance0.3680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271ED #71F276
analogous
#B771F2 #F271ED #F271AC
triadic
#F271ED #EDF271 #71EDF2
tetradic
#F271ED #F2B771 #71F276 #71ACF2
square
#F271ED #F2B771 #71F276 #71ACF2
split-complementary
#F271ED #ACF271 #71F2B7
monochromatic
#D514CE #ED39E6 #F271ED #F7A9F4 #FCE1FB

Accessibility & contrast

On white

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

On black

8.36
#F271ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271ED
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271ED#FFFFFF#000000##000000
##F271ED1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#8FAAE9
Tritanopia (blue-blind)
#F97EA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f271ed;
/* rgb */ color: rgb(242, 113, 237);
/* oklch */ color: oklch(74.4% 0.214 329.0);
Tailwind
colors: {
  custom: {
    50: '#f99ff3',
    500: '#f271ed',
    950: '#000000',
  },
}
SCSS
$custom: #f271ed;
$custom-light: #f99ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f271ed",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 302.326,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74387,
    "c": 0.214,
    "h": 329
  },
  "luminance": 0.36802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271ED

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

Preview Lab → · Contrast checker → · Palette generator →

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