#F27DE2#F27DE2

#F27DE2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.5% C 0.186 H 332.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F27DE2
RGBrgb(242, 125, 226)
HSLhsl(308, 82%, 72%)
HSVhsv(308, 48%, 95%)
CMYKcmyk(0%, 48.3%, 6.6%, 5.1%)
CIE-LABlab(68.78, 57.88, -31.58)
CIE-LCHlch(68.78, 65.94, 331.39°)
OKLaboklab(75.45% 0.1655 -0.0858)
OKLCHoklch(75.45% 0.186 332.6)
XYZxyz(57.6788, 39.0391, 76.4340)
Luminance0.3903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27DE2 #7DF28D
analogous
#C87DF2 #F27DE2 #F27DA8
triadic
#F27DE2 #E2F27D #7DE2F2
tetradic
#F27DE2 #F2C87D #7DF28D #7DA8F2
square
#F27DE2 #F2C87D #7DF28D #7DA8F2
split-complementary
#F27DE2 #A8F27D #7DF2C8
monochromatic
#DE16C3 #EC45D6 #F27DE2 #F8B5EE #FCE3F9

Accessibility & contrast

On white

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

On black

8.81
#F27DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27DE2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27DE2#FFFFFF#000000##000000
##F27DE21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#9BAEDF
Tritanopia (blue-blind)
#FB85A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27de2;
/* rgb */ color: rgb(242, 125, 226);
/* oklch */ color: oklch(75.5% 0.186 332.6);
Tailwind
colors: {
  custom: {
    50: '#f9a6eb',
    500: '#f27de2',
    950: '#000000',
  },
}
SCSS
$custom: #f27de2;
$custom-light: #f9a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f27de2",
  "rgb": {
    "r": 242,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 308.205,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75454,
    "c": 0.18644,
    "h": 332.6
  },
  "luminance": 0.39035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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