#F27AEF#F27AEF

#F27AEF is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.202 H 328.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F27AEF
RGBrgb(242, 122, 239)
HSLhsl(302, 82%, 71%)
HSVhsv(302, 50%, 95%)
CMYKcmyk(0%, 49.6%, 1.2%, 5.1%)
CIE-LABlab(68.77, 61.49, -38.76)
CIE-LCHlch(68.77, 72.69, 327.78°)
OKLaboklab(75.63% 0.1719 -0.1062)
OKLCHoklch(75.63% 0.202 328.3)
XYZxyz(59.1566, 39.0317, 86.0626)
Luminance0.3903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AEF #7AF27D
analogous
#B97AF2 #F27AEF #F27AB3
triadic
#F27AEF #EFF27A #7AEFF2
tetradic
#F27AEF #F2B97A #7AF27D #7AB3F2
square
#F27AEF #F2B97A #7AF27D #7AB3F2
split-complementary
#F27AEF #B3F27A #7AF2B9
monochromatic
#DC16D7 #ED42E8 #F27AEF #F7B2F6 #FCE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27AEF#FFFFFF#000000##000000
##F27AEF1.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)
#709EF3
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#F986AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27aef;
/* rgb */ color: rgb(242, 122, 239);
/* oklch */ color: oklch(75.6% 0.202 328.3);
Tailwind
colors: {
  custom: {
    50: '#f9a5f4',
    500: '#f27aef',
    950: '#000000',
  },
}
SCSS
$custom: #f27aef;
$custom-light: #f9a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f27aef",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 301.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75626,
    "c": 0.20206,
    "h": 328.3
  },
  "luminance": 0.39028
}

Semantic roles & 50–950 ramp

primary
#F27AEF
secondary
#D4F3D5
accent
#DF0C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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