#F27DE4#F27DE4

#F27DE4 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.5% C 0.188 H 331.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F27DE4
RGBrgb(242, 125, 228)
HSLhsl(307, 82%, 72%)
HSVhsv(307, 48%, 95%)
CMYKcmyk(0%, 48.3%, 5.8%, 5.1%)
CIE-LABlab(68.86, 58.21, -32.56)
CIE-LCHlch(68.86, 66.70, 330.78°)
OKLaboklab(75.54% 0.1659 -0.0886)
OKLCHoklch(75.54% 0.188 331.9)
XYZxyz(57.9548, 39.1495, 77.8878)
Luminance0.3915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27DE4 #7DF28B
analogous
#C57DF2 #F27DE4 #F27DAA
triadic
#F27DE4 #E4F27D #7DE4F2
tetradic
#F27DE4 #F2C57D #7DF28B #7DAAF2
square
#F27DE4 #F2C57D #7DF28B #7DAAF2
split-complementary
#F27DE4 #AAF27D #7DF2C5
monochromatic
#DE16C6 #EC45D8 #F27DE4 #F8B5F0 #FCE3F9

Accessibility & contrast

On white

2.38
#F27DE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F27DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27DE4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27DE4#FFFFFF#000000##000000
##F27DE41.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE7
Deuteranopia (green-blind)
#9BAEE1
Tritanopia (blue-blind)
#FB85A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27de4;
/* rgb */ color: rgb(242, 125, 228);
/* oklch */ color: oklch(75.5% 0.188 331.9);
Tailwind
colors: {
  custom: {
    50: '#f9a6ec',
    500: '#f27de4',
    950: '#000000',
  },
}
SCSS
$custom: #f27de4;
$custom-light: #f9a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f27de4",
  "rgb": {
    "r": 242,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 307.179,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7554,
    "c": 0.18808,
    "h": 331.9
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#F27DE4
secondary
#D7F4DA
accent
#DE2107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F27DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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