#F296FB#F296FB

#F296FB is a light, vivid purple. Relative luminance 0.477; OKLCH L 80.1% C 0.168 H 323.8°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#F296FB
RGBrgb(242, 150, 251)
HSLhsl(295, 93%, 79%)
HSVhsv(295, 40%, 98%)
CMYKcmyk(3.6%, 40.2%, 0%, 1.6%)
CIE-LABlab(74.61, 49.82, -36.24)
CIE-LCHlch(74.61, 61.60, 323.97°)
OKLaboklab(80.13% 0.1354 -0.0992)
OKLCHoklch(80.13% 0.168 323.8)
XYZxyz(64.9351, 47.6576, 97.0264)
Luminance0.4765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296FB #9FFB96
analogous
#BF96FB #F296FB #FB96D1
triadic
#F296FB #FBF296 #96FBF2
tetradic
#F296FB #FBBF96 #9FFB96 #96D1FB
square
#F296FB #FBBF96 #9FFB96 #96D1FB
split-complementary
#F296FB #D1FB96 #96FBBF
monochromatic
#E320F7 #EB5BF9 #F296FB #F9D1FD #FBE2FE

Accessibility & contrast

On white

1.99
#F296FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#F296FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296FB
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296FB#FFFFFF#000000##000000
##F296FB1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#A3BBF8
Tritanopia (blue-blind)
#F6A1BD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f296fb;
/* rgb */ color: rgb(242, 150, 251);
/* oklch */ color: oklch(80.1% 0.168 323.8);
Tailwind
colors: {
  custom: {
    50: '#f8b7fd',
    500: '#f296fb',
    950: '#000000',
  },
}
SCSS
$custom: #f296fb;
$custom-light: #f8b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f296fb",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 294.653,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80132,
    "c": 0.16791,
    "h": 323.8
  },
  "luminance": 0.47655
}

Semantic roles & 50–950 ramp

primary
#F296FB
secondary
#D8F6D5
accent
#E60014
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F296FB

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

Preview Lab → · Contrast checker → · Palette generator →

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