#F27FF2#F27FF2

#F27FF2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.4% C 0.197 H 327.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F27FF2
RGBrgb(242, 127, 242)
HSLhsl(300, 82%, 72%)
HSVhsv(300, 48%, 95%)
CMYKcmyk(0%, 47.5%, 0%, 5.1%)
CIE-LABlab(69.80, 59.63, -38.80)
CIE-LCHlch(69.80, 71.14, 326.95°)
OKLaboklab(76.43% 0.1657 -0.1064)
OKLCHoklch(76.43% 0.197 327.3)
XYZxyz(60.2333, 40.4700, 88.6260)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FF2 #7FF27F
analogous
#B97FF2 #F27FF2 #F27FB9
triadic
#F27FF2 #F2F27F #7FF2F2
tetradic
#F27FF2 #F2B97F #7FF27F #7FB9F2
square
#F27FF2 #F2B97F #7FF27F #7FB9F2
split-complementary
#F27FF2 #B9F27F #7FF2B9
monochromatic
#E017E0 #EC47EC #F27FF2 #F8B7F8 #FCE3FC

Accessibility & contrast

On white

2.31
#F27FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#F27FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FF2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FF2#FFFFFF#000000##000000
##F27FF21.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#96B0EE
Tritanopia (blue-blind)
#F88BAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f27ff2;
/* rgb */ color: rgb(242, 127, 242);
/* oklch */ color: oklch(76.4% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#f9a8f6',
    500: '#f27ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f27ff2;
$custom-light: #f9a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ff2",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.19687,
    "h": 327.3
  },
  "luminance": 0.40467
}

Semantic roles & 50–950 ramp

primary
#F27FF2
secondary
#D7F4D7
accent
#DE0808
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F27FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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