#F27EF7#F27EF7

#F27EF7 is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.5% C 0.203 H 325.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F27EF7
RGBrgb(242, 126, 247)
HSLhsl(298, 88%, 73%)
HSVhsv(298, 49%, 97%)
CMYKcmyk(2%, 49%, 0%, 3.1%)
CIE-LABlab(69.84, 60.99, -41.49)
CIE-LCHlch(69.84, 73.76, 325.77°)
OKLaboklab(76.52% 0.1678 -0.1141)
OKLCHoklch(76.52% 0.203 325.8)
XYZxyz(60.8660, 40.5175, 92.5923)
Luminance0.4051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EF7 #83F77E
analogous
#B57EF7 #F27EF7 #F77EBF
triadic
#F27EF7 #F7F27E #7EF7F2
tetradic
#F27EF7 #F7B57E #83F77E #7EBFF7
square
#F27EF7 #F7B57E #83F77E #7EBFF7
split-complementary
#F27EF7 #BFF77E #7EF7B5
monochromatic
#E30FEC #EC44F3 #F27EF7 #F8B8FB #FCE2FD

Accessibility & contrast

On white

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

On black

9.10
#F27EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EF7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EF7#FFFFFF#000000##000000
##F27EF71.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#93B0F3
Tritanopia (blue-blind)
#F78CAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f27ef7;
/* rgb */ color: rgb(242, 126, 247);
/* oklch */ color: oklch(76.5% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#f9a7fa',
    500: '#f27ef7',
    950: '#000000',
  },
}
SCSS
$custom: #f27ef7;
$custom-light: #f9a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ef7",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 297.521,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76524,
    "c": 0.20287,
    "h": 325.8
  },
  "luminance": 0.40514
}

Semantic roles & 50–950 ramp

primary
#F27EF7
secondary
#D7F5D6
accent
#E5010A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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