#F27DF4#F27DF4

#F27DF4 is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.3% C 0.202 H 326.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F27DF4
RGBrgb(242, 125, 244)
HSLhsl(299, 84%, 72%)
HSVhsv(299, 49%, 96%)
CMYKcmyk(0.8%, 48.8%, 0%, 4.3%)
CIE-LABlab(69.53, 60.94, -40.33)
CIE-LCHlch(69.53, 73.07, 326.50°)
OKLaboklab(76.25% 0.1686 -0.1108)
OKLCHoklch(76.25% 0.202 326.7)
XYZxyz(60.2796, 40.0794, 90.1314)
Luminance0.4008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27DF4 #7FF47D
analogous
#B77DF4 #F27DF4 #F47DBA
triadic
#F27DF4 #F4F27D #7DF4F2
tetradic
#F27DF4 #F4B77D #7FF47D #7DBAF4
square
#F27DF4 #F4B77D #7FF47D #7DBAF4
split-complementary
#F27DF4 #BAF47D #7DF4B7
monochromatic
#E013E3 #EC45EF #F27DF4 #F8B5F9 #FCE3FD

Accessibility & contrast

On white

2.33
#F27DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F27DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27DF4
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27DF4#FFFFFF#000000##000000
##F27DF41.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F8
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#F88AAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27df4;
/* rgb */ color: rgb(242, 125, 244);
/* oklch */ color: oklch(76.3% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#f9a7f8',
    500: '#f27df4',
    950: '#000000',
  },
}
SCSS
$custom: #f27df4;
$custom-light: #f9a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f27df4",
  "rgb": {
    "r": 242,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 298.992,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76252,
    "c": 0.20176,
    "h": 326.7
  },
  "luminance": 0.40076
}

Semantic roles & 50–950 ramp

primary
#F27DF4
secondary
#D7F5D6
accent
#E10508
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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