#F296E7#F296E7

#F296E7 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.3% C 0.149 H 331.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#F296E7
RGBrgb(242, 150, 231)
HSLhsl(307, 78%, 77%)
HSVhsv(307, 38%, 95%)
CMYKcmyk(0%, 38%, 4.5%, 5.1%)
CIE-LABlab(73.84, 46.25, -26.53)
CIE-LCHlch(73.84, 53.32, 330.16°)
OKLaboklab(79.31% 0.1309 -0.0718)
OKLCHoklch(79.31% 0.149 331.3)
XYZxyz(61.9474, 46.4625, 81.2910)
Luminance0.4646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296E7 #96F2A1
analogous
#CF96F2 #F296E7 #F296B9
triadic
#F296E7 #E7F296 #96E7F2
tetradic
#F296E7 #F2CF96 #96F2A1 #96B9F2
square
#F296E7 #F2CF96 #96F2A1 #96B9F2
split-complementary
#F296E7 #B9F296 #96F2CF
monochromatic
#E529CE #EB60DB #F296E7 #F9CCF3 #FCE4F9

Accessibility & contrast

On white

2.04
#F296E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#F296E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296E7
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296E7#FFFFFF#000000##000000
##F296E71.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEA
Deuteranopia (green-blind)
#ABBAE4
Tritanopia (blue-blind)
#F99CB4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f296e7;
/* rgb */ color: rgb(242, 150, 231);
/* oklch */ color: oklch(79.3% 0.149 331.3);
Tailwind
colors: {
  custom: {
    50: '#f8b6ee',
    500: '#f296e7',
    950: '#000000',
  },
}
SCSS
$custom: #f296e7;
$custom-light: #f8b6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f296e7",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 231
  },
  "hsl": {
    "h": 307.174,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79307,
    "c": 0.14932,
    "h": 331.3
  },
  "luminance": 0.46459
}

Semantic roles & 50–950 ramp

primary
#F296E7
secondary
#D8F3DB
accent
#DA240B
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F296E7

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

Preview Lab → · Contrast checker → · Palette generator →

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