#F27AF2#F27AF2

#F27AF2 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.8% C 0.205 H 327.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F27AF2
RGBrgb(242, 122, 242)
HSLhsl(300, 82%, 71%)
HSVhsv(300, 50%, 95%)
CMYKcmyk(0%, 49.6%, 0%, 5.1%)
CIE-LABlab(68.90, 62.01, -40.20)
CIE-LCHlch(68.90, 73.90, 327.04°)
OKLaboklab(75.76% 0.1723 -0.1104)
OKLCHoklch(75.76% 0.205 327.4)
XYZxyz(59.6035, 39.2104, 88.4161)
Luminance0.3921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AF2 #7AF27A
analogous
#B67AF2 #F27AF2 #F27AB6
triadic
#F27AF2 #F2F27A #7AF2F2
tetradic
#F27AF2 #F2B67A #7AF27A #7AB6F2
square
#F27AF2 #F2B67A #7AF27A #7AB6F2
split-complementary
#F27AF2 #B6F27A #7AF2B6
monochromatic
#DC16DC #ED42ED #F27AF2 #F7B2F7 #FCE3FC

Accessibility & contrast

On white

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

On black

8.84
#F27AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AF2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AF2#FFFFFF#000000##000000
##F27AF21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#F887AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27af2;
/* rgb */ color: rgb(242, 122, 242);
/* oklch */ color: oklch(75.8% 0.205 327.4);
Tailwind
colors: {
  custom: {
    50: '#f9a5f6',
    500: '#f27af2',
    950: '#000000',
  },
}
SCSS
$custom: #f27af2;
$custom-light: #f9a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27af2",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75764,
    "c": 0.20464,
    "h": 327.4
  },
  "luminance": 0.39207
}

Semantic roles & 50–950 ramp

primary
#F27AF2
secondary
#D4F3D4
accent
#DF0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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