#F27BF8#F27BF8

#F27BF8 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.208 H 325.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F27BF8
RGBrgb(242, 123, 248)
HSLhsl(297, 90%, 73%)
HSVhsv(297, 50%, 97%)
CMYKcmyk(2.4%, 50.4%, 0%, 2.7%)
CIE-LABlab(69.34, 62.58, -42.81)
CIE-LCHlch(69.34, 75.82, 325.63°)
OKLaboklab(76.18% 0.1719 -0.1179)
OKLCHoklch(76.18% 0.208 325.6)
XYZxyz(60.6429, 39.8237, 93.2812)
Luminance0.3982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BF8 #81F87B
analogous
#B37BF8 #F27BF8 #F87BBF
triadic
#F27BF8 #F8F27B #7BF8F2
tetradic
#F27BF8 #F8B37B #81F87B #7BBFF8
square
#F27BF8 #F8B37B #81F87B #7BBFF8
split-complementary
#F27BF8 #BFF87B #7BF8B3
monochromatic
#E10DEC #EC41F5 #F27BF8 #F8B5FB #FCE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27BF8#FFFFFF#000000##000000
##F27BF81.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)
#6CA0FC
Deuteranopia (green-blind)
#91AFF4
Tritanopia (blue-blind)
#F78AAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27bf8;
/* rgb */ color: rgb(242, 123, 248);
/* oklch */ color: oklch(76.2% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#f9a5fb',
    500: '#f27bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f27bf8;
$custom-light: #f9a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bf8",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 297.12,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.20838,
    "h": 325.6
  },
  "luminance": 0.3982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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