#F27EF4#F27EF4

#F27EF4 is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.4% C 0.200 H 326.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F27EF4
RGBrgb(242, 126, 244)
HSLhsl(299, 84%, 73%)
HSVhsv(299, 48%, 96%)
CMYKcmyk(0.8%, 48.4%, 0%, 4.3%)
CIE-LABlab(69.71, 60.46, -40.05)
CIE-LCHlch(69.71, 72.52, 326.48°)
OKLaboklab(76.39% 0.1673 -0.11)
OKLCHoklch(76.39% 0.2 326.7)
XYZxyz(60.4068, 40.3338, 90.1738)
Luminance0.4033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EF4 #80F47E
analogous
#B77EF4 #F27EF4 #F47EBB
triadic
#F27EF4 #F4F27E #7EF4F2
tetradic
#F27EF4 #F4B77E #80F47E #7EBBF4
square
#F27EF4 #F4B77E #80F47E #7EBBF4
split-complementary
#F27EF4 #BBF47E #7EF4B7
monochromatic
#E113E4 #EC46EF #F27EF4 #F8B6F9 #FCE3FD

Accessibility & contrast

On white

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

On black

9.07
#F27EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EF4
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EF4#FFFFFF#000000##000000
##F27EF41.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F8
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#F88BAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27ef4;
/* rgb */ color: rgb(242, 126, 244);
/* oklch */ color: oklch(76.4% 0.200 326.7);
Tailwind
colors: {
  custom: {
    50: '#f9a7f8',
    500: '#f27ef4',
    950: '#000000',
  },
}
SCSS
$custom: #f27ef4;
$custom-light: #f9a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ef4",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 298.983,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76386,
    "c": 0.2002,
    "h": 326.7
  },
  "luminance": 0.40331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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