#F27BFE#F27BFE

#F27BFE is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.5% C 0.214 H 323.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F27BFE
RGBrgb(242, 123, 254)
HSLhsl(295, 98%, 74%)
HSVhsv(295, 52%, 100%)
CMYKcmyk(4.7%, 51.6%, 0%, 0.4%)
CIE-LABlab(69.61, 63.65, -45.66)
CIE-LCHlch(69.61, 78.33, 324.34°)
OKLaboklab(76.46% 0.1726 -0.1261)
OKLCHoklch(76.46% 0.214 323.9)
XYZxyz(61.5886, 40.2020, 98.2624)
Luminance0.4020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BFE #87FE7B
analogous
#B17BFE #F27BFE #FE7BC9
triadic
#F27BFE #FEF27B #7BFEF2
tetradic
#F27BFE #FEB17B #87FE7B #7BC9FE
square
#F27BFE #FEB17B #87FE7B #7BC9FE
split-complementary
#F27BFE #C9FE7B #7BFEB1
monochromatic
#E602FD #EC3EFE #F27BFE #F8B8FE #FCE1FF

Accessibility & contrast

On white

2.32
#F27BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F27BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BFE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BFE#FFFFFF#000000##000000
##F27BFE1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#F68CB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27bfe;
/* rgb */ color: rgb(242, 123, 254);
/* oklch */ color: oklch(76.5% 0.214 323.9);
Tailwind
colors: {
  custom: {
    50: '#f9a6ff',
    500: '#f27bfe',
    950: '#000000',
  },
}
SCSS
$custom: #f27bfe;
$custom-light: #f9a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bfe",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 294.504,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.21375,
    "h": 323.9
  },
  "luminance": 0.40199
}

Semantic roles & 50–950 ramp

primary
#F27BFE
secondary
#D7F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F27BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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