#F27EFE#F27EFE

#F27EFE is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 76.9% C 0.209 H 323.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#F27EFE
RGBrgb(242, 126, 254)
HSLhsl(294, 98%, 75%)
HSVhsv(294, 50%, 100%)
CMYKcmyk(4.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(70.15, 62.23, -44.83)
CIE-LCHlch(70.15, 76.70, 324.23°)
OKLaboklab(76.85% 0.1687 -0.1237)
OKLCHoklch(76.85% 0.209 323.7)
XYZxyz(61.9665, 40.9577, 98.3883)
Luminance0.4096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EFE #8AFE7E
analogous
#B27EFE #F27EFE #FE7ECA
triadic
#F27EFE #FEF27E #7EFEF2
tetradic
#F27EFE #FEB27E #8AFE7E #7ECAFE
square
#F27EFE #FEB27E #8AFE7E #7ECAFE
split-complementary
#F27EFE #CAFE7E #7EFEB2
monochromatic
#E605FD #EC41FE #F27EFE #F8BBFE #FCE1FF

Accessibility & contrast

On white

2.28
#F27EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#F27EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EFE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EFE#FFFFFF#000000##000000
##F27EFE1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#F68EB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f27efe;
/* rgb */ color: rgb(242, 126, 254);
/* oklch */ color: oklch(76.9% 0.209 323.7);
Tailwind
colors: {
  custom: {
    50: '#f9a7ff',
    500: '#f27efe',
    950: '#000000',
  },
}
SCSS
$custom: #f27efe;
$custom-light: #f9a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f27efe",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 294.375,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76854,
    "c": 0.20919,
    "h": 323.7
  },
  "luminance": 0.40955
}

Semantic roles & 50–950 ramp

primary
#F27EFE
secondary
#D7F7D4
accent
#E60016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F27EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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