#F27BF7#F27BF7

#F27BF7 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.1% C 0.207 H 325.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#F27BF7
RGBrgb(242, 123, 247)
HSLhsl(298, 89%, 73%)
HSVhsv(298, 50%, 97%)
CMYKcmyk(2%, 50.2%, 0%, 3.1%)
CIE-LABlab(69.30, 62.41, -42.33)
CIE-LCHlch(69.30, 75.41, 325.85°)
OKLaboklab(76.13% 0.1717 -0.1165)
OKLCHoklch(76.13% 0.207 325.8)
XYZxyz(60.4881, 39.7618, 92.4663)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BF7 #80F77B
analogous
#B47BF7 #F27BF7 #F77BBE
triadic
#F27BF7 #F7F27B #7BF7F2
tetradic
#F27BF7 #F7B47B #80F77B #7BBEF7
square
#F27BF7 #F7B47B #80F77B #7BBEF7
split-complementary
#F27BF7 #BEF77B #7BF7B4
monochromatic
#E10EE9 #EC41F4 #F27BF7 #F8B5FA #FCE2FD

Accessibility & contrast

On white

2.35
#F27BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#F27BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BF7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BF7#FFFFFF#000000##000000
##F27BF71.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#91AFF3
Tritanopia (blue-blind)
#F789AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27bf7;
/* rgb */ color: rgb(242, 123, 247);
/* oklch */ color: oklch(76.1% 0.207 325.8);
Tailwind
colors: {
  custom: {
    50: '#f9a5fa',
    500: '#f27bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f27bf7;
$custom-light: #f9a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bf7",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 297.581,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.20749,
    "h": 325.8
  },
  "luminance": 0.39759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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