#F27FEB#F27FEB

#F27FEB is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.1% C 0.191 H 329.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F27FEB
RGBrgb(242, 127, 235)
HSLhsl(304, 82%, 72%)
HSVhsv(304, 48%, 95%)
CMYKcmyk(0%, 47.5%, 2.9%, 5.1%)
CIE-LABlab(69.51, 58.43, -35.41)
CIE-LCHlch(69.51, 68.32, 328.78°)
OKLaboklab(76.12% 0.1645 -0.0967)
OKLCHoklch(76.12% 0.191 329.5)
XYZxyz(59.2020, 40.0575, 83.1947)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FEB #7FF286
analogous
#BF7FF2 #F27FEB #F27FB2
triadic
#F27FEB #EBF27F #7FEBF2
tetradic
#F27FEB #F2BF7F #7FF286 #7FB2F2
square
#F27FEB #F2BF7F #7FF286 #7FB2F2
split-complementary
#F27FEB #B2F27F #7FF2BF
monochromatic
#E017D4 #EC47E2 #F27FEB #F8B7F4 #FCE3FB

Accessibility & contrast

On white

2.33
#F27FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F27FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FEB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FEB#FFFFFF#000000##000000
##F27FEB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#F989AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27feb;
/* rgb */ color: rgb(242, 127, 235);
/* oklch */ color: oklch(76.1% 0.191 329.5);
Tailwind
colors: {
  custom: {
    50: '#f8a8f1',
    500: '#f27feb',
    950: '#000000',
  },
}
SCSS
$custom: #f27feb;
$custom-light: #f8a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27feb",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 303.652,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76117,
    "c": 0.19079,
    "h": 329.5
  },
  "luminance": 0.40054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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