#F296EF#F296EF

#F296EF is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.6% C 0.157 H 328.1°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#F296EF
RGBrgb(242, 150, 239)
HSLhsl(302, 78%, 77%)
HSVhsv(302, 38%, 95%)
CMYKcmyk(0%, 38%, 1.2%, 5.1%)
CIE-LABlab(74.14, 47.65, -30.44)
CIE-LCHlch(74.14, 56.54, 327.43°)
OKLaboklab(79.63% 0.1329 -0.0828)
OKLCHoklch(79.63% 0.157 328.1)
XYZxyz(63.1032, 46.9248, 87.3781)
Luminance0.4692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296EF #96F299
analogous
#C796F2 #F296EF #F296C1
triadic
#F296EF #EFF296 #96EFF2
tetradic
#F296EF #F2C796 #96F299 #96C1F2
square
#F296EF #F2C796 #96F299 #96C1F2
split-complementary
#F296EF #C1F296 #96F2C7
monochromatic
#E529DE #EB60E7 #F296EF #F9CCF7 #FCE4FB

Accessibility & contrast

On white

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

On black

10.38
#F296EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296EF
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296EF#FFFFFF#000000##000000
##F296EF1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#A8BBEC
Tritanopia (blue-blind)
#F89EB8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f296ef;
/* rgb */ color: rgb(242, 150, 239);
/* oklch */ color: oklch(79.6% 0.157 328.1);
Tailwind
colors: {
  custom: {
    50: '#f8b7f4',
    500: '#f296ef',
    950: '#000000',
  },
}
SCSS
$custom: #f296ef;
$custom-light: #f8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f296ef",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 301.957,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79628,
    "c": 0.15654,
    "h": 328.1
  },
  "luminance": 0.46922
}

Semantic roles & 50–950 ramp

primary
#F296EF
secondary
#D8F3D8
accent
#DA120B
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F296EF

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

Preview Lab → · Contrast checker → · Palette generator →

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