#F29BF7#F29BF7

#F29BF7 is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.7% C 0.156 H 325.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#F29BF7
RGBrgb(242, 155, 247)
HSLhsl(297, 85%, 79%)
HSVhsv(297, 37%, 97%)
CMYKcmyk(2%, 37.2%, 0%, 3.1%)
CIE-LABlab(75.47, 46.51, -32.73)
CIE-LCHlch(75.47, 56.87, 324.87°)
OKLaboklab(80.73% 0.1275 -0.0893)
OKLCHoklch(80.73% 0.156 325)
XYZxyz(65.1262, 49.0379, 94.0124)
Luminance0.4904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F29BF7 #A0F79B
analogous
#C49BF7 #F29BF7 #F79BCE
triadic
#F29BF7 #F7F29B #9BF7F2
tetradic
#F29BF7 #F7C49B #A0F79B #9BCEF7
square
#F29BF7 #F7C49B #A0F79B #9BCEF7
split-complementary
#F29BF7 #CEF79B #9BF7C4
monochromatic
#E32AEE #EB62F2 #F29BF7 #F9D4FC #FBE3FD

Accessibility & contrast

On white

1.94
#F29BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#F29BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F29BF7
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F29BF7#FFFFFF#000000##000000
##F29BF71.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B3FA
Deuteranopia (green-blind)
#A9BEF4
Tritanopia (blue-blind)
#F6A4BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f29bf7;
/* rgb */ color: rgb(242, 155, 247);
/* oklch */ color: oklch(80.7% 0.156 325.0);
Tailwind
colors: {
  custom: {
    50: '#f8bafa',
    500: '#f29bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f29bf7;
$custom-light: #f8bafa;
$custom-dark: #000000;
JSON
{
  "hex": "#f29bf7",
  "rgb": {
    "r": 242,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 296.739,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80732,
    "c": 0.15564,
    "h": 325
  },
  "luminance": 0.49035
}

Semantic roles & 50–950 ramp

primary
#F29BF7
secondary
#D8F5D6
accent
#E20410
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #F29BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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