#F27FEA#F27FEA

#F27FEA is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.1% C 0.190 H 329.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#F27FEA
RGBrgb(242, 127, 234)
HSLhsl(304, 82%, 72%)
HSVhsv(304, 48%, 95%)
CMYKcmyk(0%, 47.5%, 3.3%, 5.1%)
CIE-LABlab(69.47, 58.26, -34.92)
CIE-LCHlch(69.47, 67.92, 329.06°)
OKLaboklab(76.07% 0.1643 -0.0953)
OKLCHoklch(76.07% 0.19 329.9)
XYZxyz(59.0580, 39.9999, 82.4360)
Luminance0.4000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FEA #7FF287
analogous
#C17FF2 #F27FEA #F27FB1
triadic
#F27FEA #EAF27F #7FEAF2
tetradic
#F27FEA #F2C17F #7FF287 #7FB1F2
square
#F27FEA #F2C17F #7FF287 #7FB1F2
split-complementary
#F27FEA #B1F27F #7FF2C1
monochromatic
#E017D2 #EC47E1 #F27FEA #F8B7F3 #FCE3FA

Accessibility & contrast

On white

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

On black

9.00
#F27FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FEA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FEA#FFFFFF#000000##000000
##F27FEA1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#9AAFE7
Tritanopia (blue-blind)
#F989AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27fea;
/* rgb */ color: rgb(242, 127, 234);
/* oklch */ color: oklch(76.1% 0.190 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8a8f1',
    500: '#f27fea',
    950: '#000000',
  },
}
SCSS
$custom: #f27fea;
$custom-light: #f8a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fea",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 304.174,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.18993,
    "h": 329.9
  },
  "luminance": 0.39997
}

Semantic roles & 50–950 ramp

primary
#F27FEA
secondary
#D7F4D9
accent
#DE1608
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F27FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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