#F27EEB#F27EEB

#F27EEB is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.0% C 0.192 H 329.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F27EEB
RGBrgb(242, 126, 235)
HSLhsl(304, 82%, 72%)
HSVhsv(304, 48%, 95%)
CMYKcmyk(0%, 47.9%, 2.9%, 5.1%)
CIE-LABlab(69.33, 58.91, -35.69)
CIE-LCHlch(69.33, 68.88, 328.79°)
OKLaboklab(75.98% 0.1658 -0.0975)
OKLCHoklch(75.98% 0.192 329.5)
XYZxyz(59.0735, 39.8005, 83.1519)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EEB #7EF285
analogous
#BF7EF2 #F27EEB #F27EB1
triadic
#F27EEB #EBF27E #7EEBF2
tetradic
#F27EEB #F2BF7E #7EF285 #7EB1F2
square
#F27EEB #F2BF7E #7EF285 #7EB1F2
split-complementary
#F27EEB #B1F27E #7EF2BF
monochromatic
#DF16D3 #EC46E2 #F27EEB #F8B6F4 #FCE3FB

Accessibility & contrast

On white

2.34
#F27EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F27EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EEB
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EEB#FFFFFF#000000##000000
##F27EEB1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#F988AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27eeb;
/* rgb */ color: rgb(242, 126, 235);
/* oklch */ color: oklch(76.0% 0.192 329.5);
Tailwind
colors: {
  custom: {
    50: '#f9a7f1',
    500: '#f27eeb',
    950: '#000000',
  },
}
SCSS
$custom: #f27eeb;
$custom-light: #f9a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27eeb",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 303.621,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.19237,
    "h": 329.5
  },
  "luminance": 0.39797
}

Semantic roles & 50–950 ramp

primary
#F27EEB
secondary
#D7F4D9
accent
#DE1407
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F27EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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