#F27FE3#F27FE3

#F27FE3 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.8% C 0.184 H 332.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F27FE3
RGBrgb(242, 127, 227)
HSLhsl(308, 82%, 72%)
HSVhsv(308, 48%, 95%)
CMYKcmyk(0%, 47.5%, 6.2%, 5.1%)
CIE-LABlab(69.19, 57.09, -31.50)
CIE-LCHlch(69.19, 65.20, 331.11°)
OKLaboklab(75.77% 0.1629 -0.0856)
OKLCHoklch(75.77% 0.184 332.3)
XYZxyz(58.0721, 39.6056, 77.2440)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FE3 #7FF28E
analogous
#C77FF2 #F27FE3 #F27FAA
triadic
#F27FE3 #E3F27F #7FE3F2
tetradic
#F27FE3 #F2C77F #7FF28E #7FAAF2
square
#F27FE3 #F2C77F #7FF28E #7FAAF2
split-complementary
#F27FE3 #AAF27F #7FF2C7
monochromatic
#E017C6 #EC47D7 #F27FE3 #F8B7EF #FCE3F9

Accessibility & contrast

On white

2.35
#F27FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F27FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FE3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FE3#FFFFFF#000000##000000
##F27FE31.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE6
Deuteranopia (green-blind)
#9CAFE0
Tritanopia (blue-blind)
#FB87A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27fe3;
/* rgb */ color: rgb(242, 127, 227);
/* oklch */ color: oklch(75.8% 0.184 332.3);
Tailwind
colors: {
  custom: {
    50: '#f8a8ec',
    500: '#f27fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f27fe3;
$custom-light: #f8a8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fe3",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 307.826,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75771,
    "c": 0.18405,
    "h": 332.3
  },
  "luminance": 0.39602
}

Semantic roles & 50–950 ramp

primary
#F27FE3
secondary
#D7F4DB
accent
#DE2408
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F27FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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