#F27BF0#F27BF0

#F27BF0 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.201 H 328.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F27BF0
RGBrgb(242, 123, 240)
HSLhsl(301, 82%, 72%)
HSVhsv(301, 49%, 95%)
CMYKcmyk(0%, 49.2%, 0.8%, 5.1%)
CIE-LABlab(69.00, 61.19, -38.96)
CIE-LCHlch(69.00, 72.54, 327.51°)
OKLaboklab(75.8% 0.1707 -0.1068)
OKLCHoklch(75.8% 0.201 328)
XYZxyz(59.4282, 39.3378, 86.8839)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BF0 #7BF27D
analogous
#B97BF2 #F27BF0 #F27BB5
triadic
#F27BF0 #F0F27B #7BF0F2
tetradic
#F27BF0 #F2B97B #7BF27D #7BB5F2
square
#F27BF0 #F2B97B #7BF27D #7BB5F2
split-complementary
#F27BF0 #B5F27B #7BF2B9
monochromatic
#DD16DA #ED43EA #F27BF0 #F7B3F6 #FCE3FC

Accessibility & contrast

On white

2.37
#F27BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#F27BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BF0
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BF0#FFFFFF#000000##000000
##F27BF01.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF4
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#F987AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27bf0;
/* rgb */ color: rgb(242, 123, 240);
/* oklch */ color: oklch(75.8% 0.201 328.0);
Tailwind
colors: {
  custom: {
    50: '#f9a5f5',
    500: '#f27bf0',
    950: '#000000',
  },
}
SCSS
$custom: #f27bf0;
$custom-light: #f9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bf0",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 301.008,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75804,
    "c": 0.20137,
    "h": 328
  },
  "luminance": 0.39334
}

Semantic roles & 50–950 ramp

primary
#F27BF0
secondary
#D5F4D6
accent
#DE0B07
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F27BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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