#F27EF8#F27EF8

#F27EF8 is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.6% C 0.204 H 325.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F27EF8
RGBrgb(242, 126, 248)
HSLhsl(297, 90%, 73%)
HSVhsv(297, 49%, 97%)
CMYKcmyk(2.4%, 49.2%, 0%, 2.7%)
CIE-LABlab(69.88, 61.16, -41.97)
CIE-LCHlch(69.88, 74.18, 325.54°)
OKLaboklab(76.57% 0.1679 -0.1155)
OKLCHoklch(76.57% 0.204 325.5)
XYZxyz(61.0207, 40.5794, 93.4072)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EF8 #84F87E
analogous
#B57EF8 #F27EF8 #F87EC1
triadic
#F27EF8 #F8F27E #7EF8F2
tetradic
#F27EF8 #F8B57E #84F87E #7EC1F8
square
#F27EF8 #F8B57E #84F87E #7EC1F8
split-complementary
#F27EF8 #C1F87E #7EF8B5
monochromatic
#E40DEF #EC44F5 #F27EF8 #F8B8FB #FCE2FD

Accessibility & contrast

On white

2.30
#F27EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F27EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EF8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EF8#FFFFFF#000000##000000
##F27EF81.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FC
Deuteranopia (green-blind)
#93B0F4
Tritanopia (blue-blind)
#F78CB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f27ef8;
/* rgb */ color: rgb(242, 126, 248);
/* oklch */ color: oklch(76.6% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#f9a7fb',
    500: '#f27ef8',
    950: '#000000',
  },
}
SCSS
$custom: #f27ef8;
$custom-light: #f9a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ef8",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 297.049,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76571,
    "c": 0.20377,
    "h": 325.5
  },
  "luminance": 0.40576
}

Semantic roles & 50–950 ramp

primary
#F27EF8
secondary
#D7F6D5
accent
#E6000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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