#F276FC#F276FC

#F276FC is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.7% C 0.219 H 324.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F276FC
RGBrgb(242, 118, 252)
HSLhsl(296, 96%, 73%)
HSVhsv(296, 53%, 99%)
CMYKcmyk(4%, 53.2%, 0%, 1.2%)
CIE-LABlab(68.65, 65.61, -46.08)
CIE-LCHlch(68.65, 80.18, 324.92°)
OKLaboklab(75.73% 0.1788 -0.1272)
OKLCHoklch(75.73% 0.219 324.6)
XYZxyz(60.6656, 38.8656, 96.3829)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276FC #80FC76
analogous
#AF76FC #F276FC #FC76C3
triadic
#F276FC #FCF276 #76FCF2
tetradic
#F276FC #FCAF76 #80FC76 #76C3FC
square
#F276FC #FCAF76 #80FC76 #76C3FC
split-complementary
#F276FC #C3FC76 #76FCAF
monochromatic
#E105F2 #EC3AFB #F276FC #F8B2FD #FCE1FE

Accessibility & contrast

On white

2.39
#F276FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#F276FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276FC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276FC#FFFFFF#000000##000000
##F276FC1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#8BADF8
Tritanopia (blue-blind)
#F787AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f276fc;
/* rgb */ color: rgb(242, 118, 252);
/* oklch */ color: oklch(75.7% 0.219 324.6);
Tailwind
colors: {
  custom: {
    50: '#f9a3fe',
    500: '#f276fc',
    950: '#000000',
  },
}
SCSS
$custom: #f276fc;
$custom-light: #f9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f276fc",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 295.522,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75726,
    "c": 0.21944,
    "h": 324.6
  },
  "luminance": 0.38862
}

Semantic roles & 50–950 ramp

primary
#F276FC
secondary
#D7F7D4
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F276FC

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

Preview Lab → · Contrast checker → · Palette generator →

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