#F27FEF#F27FEF

#F27FEF is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.3% C 0.194 H 328.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F27FEF
RGBrgb(242, 127, 239)
HSLhsl(302, 82%, 72%)
HSVhsv(302, 48%, 95%)
CMYKcmyk(0%, 47.5%, 1.2%, 5.1%)
CIE-LABlab(69.68, 59.11, -37.35)
CIE-LCHlch(69.68, 69.92, 327.71°)
OKLaboklab(76.29% 0.1652 -0.1022)
OKLCHoklch(76.29% 0.194 328.2)
XYZxyz(59.7864, 40.2913, 86.2725)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FEF #7FF282
analogous
#BB7FF2 #F27FEF #F27FB6
triadic
#F27FEF #EFF27F #7FEFF2
tetradic
#F27FEF #F2BB7F #7FF282 #7FB6F2
square
#F27FEF #F2BB7F #7FF282 #7FB6F2
split-complementary
#F27FEF #B6F27F #7FF2BB
monochromatic
#E017DB #EC47E8 #F27FEF #F8B7F6 #FCE3FC

Accessibility & contrast

On white

2.32
#F27FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F27FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FEF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FEF#FFFFFF#000000##000000
##F27FEF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F3
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#F98AAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27fef;
/* rgb */ color: rgb(242, 127, 239);
/* oklch */ color: oklch(76.3% 0.194 328.2);
Tailwind
colors: {
  custom: {
    50: '#f9a8f4',
    500: '#f27fef',
    950: '#000000',
  },
}
SCSS
$custom: #f27fef;
$custom-light: #f9a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fef",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 301.565,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76294,
    "c": 0.19424,
    "h": 328.2
  },
  "luminance": 0.40288
}

Semantic roles & 50–950 ramp

primary
#F27FEF
secondary
#D7F4D8
accent
#DE0D08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F27FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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