#F27EF5#F27EF5

#F27EF5 is a light, highly saturated purple. Relative luminance 0.404; OKLCH L 76.4% C 0.201 H 326.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F27EF5
RGBrgb(242, 126, 245)
HSLhsl(298, 86%, 73%)
HSVhsv(298, 49%, 96%)
CMYKcmyk(1.2%, 48.6%, 0%, 3.9%)
CIE-LABlab(69.75, 60.63, -40.53)
CIE-LCHlch(69.75, 72.93, 326.24°)
OKLaboklab(76.43% 0.1674 -0.1113)
OKLCHoklch(76.43% 0.201 326.4)
XYZxyz(60.5590, 40.3947, 90.9756)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EF5 #81F57E
analogous
#B67EF5 #F27EF5 #F57EBD
triadic
#F27EF5 #F5F27E #7EF5F2
tetradic
#F27EF5 #F5B67E #81F57E #7EBDF5
square
#F27EF5 #F5B67E #81F57E #7EBDF5
split-complementary
#F27EF5 #BDF57E #7EF5B6
monochromatic
#E112E7 #EC45F1 #F27EF5 #F8B7F9 #FCE3FD

Accessibility & contrast

On white

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

On black

9.08
#F27EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EF5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EF5#FFFFFF#000000##000000
##F27EF51.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#94B0F1
Tritanopia (blue-blind)
#F88BAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27ef5;
/* rgb */ color: rgb(242, 126, 245);
/* oklch */ color: oklch(76.4% 0.201 326.4);
Tailwind
colors: {
  custom: {
    50: '#f9a7f9',
    500: '#f27ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f27ef5;
$custom-light: #f9a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ef5",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 298.487,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76432,
    "c": 0.20109,
    "h": 326.4
  },
  "luminance": 0.40392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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