#F27AF7#F27AF7

#F27AF7 is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 76.0% C 0.209 H 325.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#F27AF7
RGBrgb(242, 122, 247)
HSLhsl(298, 89%, 72%)
HSVhsv(298, 51%, 97%)
CMYKcmyk(2%, 50.6%, 0%, 3.1%)
CIE-LABlab(69.12, 62.88, -42.60)
CIE-LCHlch(69.12, 75.95, 325.88°)
OKLaboklab(76% 0.173 -0.1173)
OKLCHoklch(76% 0.209 325.9)
XYZxyz(60.3647, 39.5149, 92.4252)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AF7 #7FF77A
analogous
#B47AF7 #F27AF7 #F77ABE
triadic
#F27AF7 #F7F27A #7AF7F2
tetradic
#F27AF7 #F7B47A #7FF77A #7ABEF7
square
#F27AF7 #F7B47A #7FF77A #7ABEF7
split-complementary
#F27AF7 #BEF77A #7AF7B4
monochromatic
#E00EE9 #EC40F4 #F27AF7 #F8B4FA #FCE2FD

Accessibility & contrast

On white

2.36
#F27AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#F27AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AF7
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AF7#FFFFFF#000000##000000
##F27AF71.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#91AEF3
Tritanopia (blue-blind)
#F789AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27af7;
/* rgb */ color: rgb(242, 122, 247);
/* oklch */ color: oklch(76.0% 0.209 325.9);
Tailwind
colors: {
  custom: {
    50: '#f9a5fa',
    500: '#f27af7',
    950: '#000000',
  },
}
SCSS
$custom: #f27af7;
$custom-light: #f9a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f27af7",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 297.6,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.20902,
    "h": 325.9
  },
  "luminance": 0.39512
}

Semantic roles & 50–950 ramp

primary
#F27AF7
secondary
#D7F5D6
accent
#E50009
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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