#F27AF4#F27AF4

#F27AF4 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.206 H 326.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F27AF4
RGBrgb(242, 122, 244)
HSLhsl(299, 85%, 72%)
HSVhsv(299, 50%, 96%)
CMYKcmyk(0.8%, 50%, 0%, 4.3%)
CIE-LABlab(68.99, 62.35, -41.17)
CIE-LCHlch(68.99, 74.72, 326.57°)
OKLaboklab(75.86% 0.1726 -0.1131)
OKLCHoklch(75.86% 0.206 326.8)
XYZxyz(59.9055, 39.3312, 90.0067)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AF4 #7CF47A
analogous
#B57AF4 #F27AF4 #F47AB9
triadic
#F27AF4 #F4F27A #7AF4F2
tetradic
#F27AF4 #F4B57A #7CF47A #7AB9F4
square
#F27AF4 #F4B57A #7CF47A #7AB9F4
split-complementary
#F27AF4 #B9F47A #7AF4B5
monochromatic
#DE13E1 #EC41EF #F27AF4 #F8B3F9 #FCE3FD

Accessibility & contrast

On white

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

On black

8.87
#F27AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AF4
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AF4#FFFFFF#000000##000000
##F27AF41.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF8
Deuteranopia (green-blind)
#92AEF0
Tritanopia (blue-blind)
#F888AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27af4;
/* rgb */ color: rgb(242, 122, 244);
/* oklch */ color: oklch(75.9% 0.206 326.8);
Tailwind
colors: {
  custom: {
    50: '#f9a5f8',
    500: '#f27af4',
    950: '#000000',
  },
}
SCSS
$custom: #f27af4;
$custom-light: #f9a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f27af4",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 299.016,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75857,
    "c": 0.20639,
    "h": 326.8
  },
  "luminance": 0.39328
}

Semantic roles & 50–950 ramp

primary
#F27AF4
secondary
#D6F4D5
accent
#E10408
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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