#F27BED#F27BED

#F27BED is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.7% C 0.199 H 328.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F27BED
RGBrgb(242, 123, 237)
HSLhsl(303, 82%, 72%)
HSVhsv(303, 49%, 95%)
CMYKcmyk(0%, 49.2%, 2.1%, 5.1%)
CIE-LABlab(68.87, 60.68, -37.51)
CIE-LCHlch(68.87, 71.34, 328.28°)
OKLaboklab(75.67% 0.1702 -0.1027)
OKLCHoklch(75.67% 0.199 328.9)
XYZxyz(58.9862, 39.1610, 84.5562)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BED #7BF280
analogous
#BC7BF2 #F27BED #F27BB2
triadic
#F27BED #EDF27B #7BEDF2
tetradic
#F27BED #F2BC7B #7BF280 #7BB2F2
square
#F27BED #F2BC7B #7BF280 #7BB2F2
split-complementary
#F27BED #B2F27B #7BF2BC
monochromatic
#DD16D4 #ED43E5 #F27BED #F7B3F5 #FCE3FB

Accessibility & contrast

On white

2.38
#F27BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F27BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BED
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BED#FFFFFF#000000##000000
##F27BED1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#F986A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27bed;
/* rgb */ color: rgb(242, 123, 237);
/* oklch */ color: oklch(75.7% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#f9a5f3',
    500: '#f27bed',
    950: '#000000',
  },
}
SCSS
$custom: #f27bed;
$custom-light: #f9a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bed",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 302.521,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75668,
    "c": 0.19879,
    "h": 328.9
  },
  "luminance": 0.39158
}

Semantic roles & 50–950 ramp

primary
#F27BED
secondary
#D5F4D6
accent
#DE1007
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F27BED

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

Preview Lab → · Contrast checker → · Palette generator →

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