#F27EE2#F27EE2

#F27EE2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.6% C 0.185 H 332.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F27EE2
RGBrgb(242, 126, 226)
HSLhsl(308, 82%, 72%)
HSVhsv(308, 48%, 95%)
CMYKcmyk(0%, 47.9%, 6.6%, 5.1%)
CIE-LABlab(68.96, 57.40, -31.29)
CIE-LCHlch(68.96, 65.38, 331.40°)
OKLaboklab(75.59% 0.1641 -0.085)
OKLCHoklch(75.59% 0.185 332.6)
XYZxyz(57.8060, 39.2935, 76.4764)
Luminance0.3929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EE2 #7EF28E
analogous
#C87EF2 #F27EE2 #F27EA8
triadic
#F27EE2 #E2F27E #7EE2F2
tetradic
#F27EE2 #F2C87E #7EF28E #7EA8F2
square
#F27EE2 #F2C87E #7EF28E #7EA8F2
split-complementary
#F27EE2 #A8F27E #7EF2C8
monochromatic
#DF16C3 #EC46D6 #F27EE2 #F8B6EE #FCE3F9

Accessibility & contrast

On white

2.37
#F27EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F27EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EE2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EE2#FFFFFF#000000##000000
##F27EE21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#9CAEDF
Tritanopia (blue-blind)
#FB86A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27ee2;
/* rgb */ color: rgb(242, 126, 226);
/* oklch */ color: oklch(75.6% 0.185 332.6);
Tailwind
colors: {
  custom: {
    50: '#f8a7eb',
    500: '#f27ee2',
    950: '#000000',
  },
}
SCSS
$custom: #f27ee2;
$custom-light: #f8a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ee2",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 308.276,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75591,
    "c": 0.18483,
    "h": 332.6
  },
  "luminance": 0.3929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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