#F296EC#F296EC

#F296EC is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.5% C 0.154 H 329.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#F296EC
RGBrgb(242, 150, 236)
HSLhsl(304, 78%, 77%)
HSVhsv(304, 38%, 95%)
CMYKcmyk(0%, 38%, 2.5%, 5.1%)
CIE-LABlab(74.03, 47.12, -28.98)
CIE-LCHlch(74.03, 55.32, 328.41°)
OKLaboklab(79.51% 0.1322 -0.0787)
OKLCHoklch(79.51% 0.154 329.2)
XYZxyz(62.6637, 46.7490, 85.0633)
Luminance0.4675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296EC #96F29C
analogous
#CA96F2 #F296EC #F296BE
triadic
#F296EC #ECF296 #96ECF2
tetradic
#F296EC #F2CA96 #96F29C #96BEF2
square
#F296EC #F2CA96 #96F29C #96BEF2
split-complementary
#F296EC #BEF296 #96F2CA
monochromatic
#E529D8 #EB60E2 #F296EC #F9CCF6 #FCE4FA

Accessibility & contrast

On white

2.03
#F296EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#F296EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296EC
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296EC#FFFFFF#000000##000000
##F296EC1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#A9BAE9
Tritanopia (blue-blind)
#F89DB6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f296ec;
/* rgb */ color: rgb(242, 150, 236);
/* oklch */ color: oklch(79.5% 0.154 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8b6f2',
    500: '#f296ec',
    950: '#000000',
  },
}
SCSS
$custom: #f296ec;
$custom-light: #f8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f296ec",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 303.913,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79506,
    "c": 0.15379,
    "h": 329.2
  },
  "luminance": 0.46746
}

Semantic roles & 50–950 ramp

primary
#F296EC
secondary
#D8F3D9
accent
#DA190B
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F296EC

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

Preview Lab → · Contrast checker → · Palette generator →

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