#F27CDF#F27CDF

#F27CDF is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.186 H 333.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#F27CDF
RGBrgb(242, 124, 223)
HSLhsl(310, 82%, 72%)
HSVhsv(310, 49%, 95%)
CMYKcmyk(0%, 48.8%, 7.9%, 5.1%)
CIE-LABlab(68.48, 57.87, -30.38)
CIE-LCHlch(68.48, 65.36, 332.30°)
OKLaboklab(75.19% 0.1663 -0.0824)
OKLCHoklch(75.19% 0.186 333.6)
XYZxyz(57.1448, 38.6239, 74.2430)
Luminance0.3862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27CDF #7CF28F
analogous
#CA7CF2 #F27CDF #F27CA4
triadic
#F27CDF #DFF27C #7CDFF2
tetradic
#F27CDF #F2CA7C #7CF28F #7CA4F2
square
#F27CDF #F2CA7C #7CF28F #7CA4F2
split-complementary
#F27CDF #A4F27C #7CF2CA
monochromatic
#DE16BD #EC44D1 #F27CDF #F8B4ED #FCE3F8

Accessibility & contrast

On white

2.41
#F27CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#F27CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27CDF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27CDF#FFFFFF#000000##000000
##F27CDF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#FB83A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f27cdf;
/* rgb */ color: rgb(242, 124, 223);
/* oklch */ color: oklch(75.2% 0.186 333.6);
Tailwind
colors: {
  custom: {
    50: '#f9a6e9',
    500: '#f27cdf',
    950: '#000000',
  },
}
SCSS
$custom: #f27cdf;
$custom-light: #f9a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f27cdf",
  "rgb": {
    "r": 242,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 309.661,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75191,
    "c": 0.1856,
    "h": 333.6
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#F27CDF
secondary
#D6F4DB
accent
#DE2A07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F27CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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