#F27CF2#F27CF2

#F27CF2 is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.202 H 327.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F27CF2
RGBrgb(242, 124, 242)
HSLhsl(300, 82%, 72%)
HSVhsv(300, 49%, 95%)
CMYKcmyk(0%, 48.8%, 0%, 5.1%)
CIE-LABlab(69.26, 61.06, -39.65)
CIE-LCHlch(69.26, 72.81, 327.01°)
OKLaboklab(76.03% 0.1697 -0.1088)
OKLCHoklch(76.03% 0.202 327.3)
XYZxyz(59.8516, 39.7066, 88.4988)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27CF2 #7CF27C
analogous
#B77CF2 #F27CF2 #F27CB7
triadic
#F27CF2 #F2F27C #7CF2F2
tetradic
#F27CF2 #F2B77C #7CF27C #7CB7F2
square
#F27CF2 #F2B77C #7CF27C #7CB7F2
split-complementary
#F27CF2 #B7F27C #7CF2B7
monochromatic
#DE16DE #EC44EC #F27CF2 #F8B4F8 #FCE3FC

Accessibility & contrast

On white

2.35
#F27CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F27CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27CF2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27CF2#FFFFFF#000000##000000
##F27CF21.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#94AFEE
Tritanopia (blue-blind)
#F889AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27cf2;
/* rgb */ color: rgb(242, 124, 242);
/* oklch */ color: oklch(76.0% 0.202 327.3);
Tailwind
colors: {
  custom: {
    50: '#f9a6f6',
    500: '#f27cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f27cf2;
$custom-light: #f9a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27cf2",
  "rgb": {
    "r": 242,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.76027,
    "c": 0.20155,
    "h": 327.3
  },
  "luminance": 0.39703
}

Semantic roles & 50–950 ramp

primary
#F27CF2
secondary
#D6F4D6
accent
#DE0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F27CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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