#F27AFE#F27AFE

#F27AFE is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.3% C 0.215 H 323.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F27AFE
RGBrgb(242, 122, 254)
HSLhsl(295, 99%, 74%)
HSVhsv(295, 52%, 100%)
CMYKcmyk(4.7%, 52%, 0%, 0.4%)
CIE-LABlab(69.44, 64.12, -45.94)
CIE-LCHlch(69.44, 78.88, 324.38°)
OKLaboklab(76.33% 0.1739 -0.1269)
OKLCHoklch(76.33% 0.215 323.9)
XYZxyz(61.4652, 39.9551, 98.2212)
Luminance0.3995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AFE #86FE7A
analogous
#B07AFE #F27AFE #FE7AC8
triadic
#F27AFE #FEF27A #7AFEF2
tetradic
#F27AFE #FEB07A #86FE7A #7AC8FE
square
#F27AFE #FEB07A #86FE7A #7AC8FE
split-complementary
#F27AFE #C8FE7A #7AFEB0
monochromatic
#E502FC #EC3DFE #F27AFE #F8B7FE #FCE1FF

Accessibility & contrast

On white

2.34
#F27AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#F27AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AFE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AFE#FFFFFF#000000##000000
##F27AFE1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#8DAFFA
Tritanopia (blue-blind)
#F68BB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27afe;
/* rgb */ color: rgb(242, 122, 254);
/* oklch */ color: oklch(76.3% 0.215 323.9);
Tailwind
colors: {
  custom: {
    50: '#f9a5ff',
    500: '#f27afe',
    950: '#000000',
  },
}
SCSS
$custom: #f27afe;
$custom-light: #f9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f27afe",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 294.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76332,
    "c": 0.21526,
    "h": 323.9
  },
  "luminance": 0.39952
}

Semantic roles & 50–950 ramp

primary
#F27AFE
secondary
#D7F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F27AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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