#F296F2#F296F2

#F296F2 is a light, vivid purple. Relative luminance 0.471; OKLCH L 79.8% C 0.159 H 326.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#F296F2
RGBrgb(242, 150, 242)
HSLhsl(300, 78%, 77%)
HSVhsv(300, 38%, 95%)
CMYKcmyk(0%, 38%, 0%, 5.1%)
CIE-LABlab(74.26, 48.18, -31.90)
CIE-LCHlch(74.26, 57.78, 326.50°)
OKLaboklab(79.75% 0.1335 -0.0869)
OKLCHoklch(79.75% 0.159 326.9)
XYZxyz(63.5500, 47.1035, 89.7316)
Luminance0.4710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296F2 #96F296
analogous
#C496F2 #F296F2 #F296C4
triadic
#F296F2 #F2F296 #96F2F2
tetradic
#F296F2 #F2C496 #96F296 #96C4F2
square
#F296F2 #F2C496 #96F296 #96C4F2
split-complementary
#F296F2 #C4F296 #96F2C4
monochromatic
#E529E5 #EB60EB #F296F2 #F9CCF9 #FCE4FC

Accessibility & contrast

On white

2.02
#F296F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#F296F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296F2
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296F2#FFFFFF#000000##000000
##F296F21.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#F79FB9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f296f2;
/* rgb */ color: rgb(242, 150, 242);
/* oklch */ color: oklch(79.8% 0.159 326.9);
Tailwind
colors: {
  custom: {
    50: '#f8b7f6',
    500: '#f296f2',
    950: '#000000',
  },
}
SCSS
$custom: #f296f2;
$custom-light: #f8b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f296f2",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79752,
    "c": 0.15932,
    "h": 326.9
  },
  "luminance": 0.47101
}

Semantic roles & 50–950 ramp

primary
#F296F2
secondary
#D8F3D8
accent
#DA0B0B
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F296F2

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

Preview Lab → · Contrast checker → · Palette generator →

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