#F27BFB#F27BFB

#F27BFB is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.3% C 0.211 H 324.7°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#F27BFB
RGBrgb(242, 123, 251)
HSLhsl(296, 94%, 73%)
HSVhsv(296, 51%, 98%)
CMYKcmyk(3.6%, 51%, 0%, 1.6%)
CIE-LABlab(69.48, 63.11, -44.24)
CIE-LCHlch(69.48, 77.07, 324.97°)
OKLaboklab(76.32% 0.1722 -0.122)
OKLCHoklch(76.32% 0.211 324.7)
XYZxyz(61.1120, 40.0113, 95.7521)
Luminance0.4001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BFB #84FB7B
analogous
#B27BFB #F27BFB #FB7BC4
triadic
#F27BFB #FBF27B #7BFBF2
tetradic
#F27BFB #FBB27B #84FB7B #7BC4FB
square
#F27BFB #FBB27B #84FB7B #7BC4FB
split-complementary
#F27BFB #C4FB7B #7BFBB2
monochromatic
#E407F4 #EC40F9 #F27BFB #F8B6FD #FCE1FE

Accessibility & contrast

On white

2.33
#F27BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#F27BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BFB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BFB#FFFFFF#000000##000000
##F27BFB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#F78BB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27bfb;
/* rgb */ color: rgb(242, 123, 251);
/* oklch */ color: oklch(76.3% 0.211 324.7);
Tailwind
colors: {
  custom: {
    50: '#f9a6fd',
    500: '#f27bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f27bfb;
$custom-light: #f9a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bfb",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 295.781,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76317,
    "c": 0.21106,
    "h": 324.7
  },
  "luminance": 0.40008
}

Semantic roles & 50–950 ramp

primary
#F27BFB
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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