#F27BF4#F27BF4

#F27BF4 is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.0% C 0.205 H 326.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F27BF4
RGBrgb(242, 123, 244)
HSLhsl(299, 85%, 72%)
HSVhsv(299, 50%, 96%)
CMYKcmyk(0.8%, 49.6%, 0%, 4.3%)
CIE-LABlab(69.17, 61.88, -40.89)
CIE-LCHlch(69.17, 74.17, 326.55°)
OKLaboklab(75.99% 0.1713 -0.1123)
OKLCHoklch(75.99% 0.205 326.7)
XYZxyz(60.0289, 39.5781, 90.0479)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BF4 #7DF47B
analogous
#B67BF4 #F27BF4 #F47BBA
triadic
#F27BF4 #F4F27B #7BF4F2
tetradic
#F27BF4 #F4B67B #7DF47B #7BBAF4
square
#F27BF4 #F4B67B #7DF47B #7BBAF4
split-complementary
#F27BF4 #BAF47B #7BF4B6
monochromatic
#DE13E2 #EC43EF #F27BF4 #F8B3F9 #FCE3FD

Accessibility & contrast

On white

2.36
#F27BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F27BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BF4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BF4#FFFFFF#000000##000000
##F27BF41.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#93AEF0
Tritanopia (blue-blind)
#F889AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27bf4;
/* rgb */ color: rgb(242, 123, 244);
/* oklch */ color: oklch(76.0% 0.205 326.7);
Tailwind
colors: {
  custom: {
    50: '#f9a5f8',
    500: '#f27bf4',
    950: '#000000',
  },
}
SCSS
$custom: #f27bf4;
$custom-light: #f9a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bf4",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 299.008,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.20485,
    "h": 326.7
  },
  "luminance": 0.39575
}

Semantic roles & 50–950 ramp

primary
#F27BF4
secondary
#D7F5D6
accent
#E10408
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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