#F296FC#F296FC

#F296FC is a light, vivid purple. Relative luminance 0.477; OKLCH L 80.2% C 0.169 H 323.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#F296FC
RGBrgb(242, 150, 252)
HSLhsl(294, 94%, 79%)
HSVhsv(294, 40%, 99%)
CMYKcmyk(4%, 40.5%, 0%, 1.2%)
CIE-LABlab(74.65, 50.00, -36.72)
CIE-LCHlch(74.65, 62.03, 323.71°)
OKLaboklab(80.18% 0.1356 -0.1006)
OKLCHoklch(80.18% 0.169 323.4)
XYZxyz(65.0932, 47.7208, 97.8588)
Luminance0.4772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296FC #A0FC96
analogous
#BF96FC #F296FC #FC96D3
triadic
#F296FC #FCF296 #96FCF2
tetradic
#F296FC #FCBF96 #A0FC96 #96D3FC
square
#F296FC #FCBF96 #A0FC96 #96D3FC
split-complementary
#F296FC #D3FC96 #96FCBF
monochromatic
#E31FF9 #EB5BFA #F296FC #F9D2FE #FBE1FE

Accessibility & contrast

On white

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

On black

10.54
#F296FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296FC
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296FC#FFFFFF#000000##000000
##F296FC1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f296fc;
/* rgb */ color: rgb(242, 150, 252);
/* oklch */ color: oklch(80.2% 0.169 323.4);
Tailwind
colors: {
  custom: {
    50: '#f8b7fd',
    500: '#f296fc',
    950: '#000000',
  },
}
SCSS
$custom: #f296fc;
$custom-light: #f8b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f296fc",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 294.118,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80175,
    "c": 0.16889,
    "h": 323.4
  },
  "luminance": 0.47718
}

Semantic roles & 50–950 ramp

primary
#F296FC
secondary
#D8F6D5
accent
#E60016
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F296FC

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

Preview Lab → · Contrast checker → · Palette generator →

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