#F276FE#F276FE

#F276FE is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.8% C 0.221 H 324.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#F276FE
RGBrgb(242, 118, 254)
HSLhsl(295, 99%, 73%)
HSVhsv(295, 54%, 100%)
CMYKcmyk(4.7%, 53.5%, 0%, 0.4%)
CIE-LABlab(68.75, 65.97, -47.03)
CIE-LCHlch(68.75, 81.01, 324.51°)
OKLaboklab(75.82% 0.179 -0.13)
OKLCHoklch(75.82% 0.221 324)
XYZxyz(60.9842, 38.9930, 98.0609)
Luminance0.3899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276FE #82FE76
analogous
#AE76FE #F276FE #FE76C6
triadic
#F276FE #FEF276 #76FEF2
tetradic
#F276FE #FEAE76 #82FE76 #76C6FE
square
#F276FE #FEAE76 #82FE76 #76C6FE
split-complementary
#F276FE #C6FE76 #76FEAE
monochromatic
#E202F8 #EC39FE #F276FE #F8B3FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.80
#F276FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276FE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276FE#FFFFFF#000000##000000
##F276FE1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#F688AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f276fe;
/* rgb */ color: rgb(242, 118, 254);
/* oklch */ color: oklch(75.8% 0.221 324.0);
Tailwind
colors: {
  custom: {
    50: '#f9a3ff',
    500: '#f276fe',
    950: '#000000',
  },
}
SCSS
$custom: #f276fe;
$custom-light: #f9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f276fe",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 294.706,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75824,
    "c": 0.22121,
    "h": 324
  },
  "luminance": 0.3899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F276FE

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

Preview Lab → · Contrast checker → · Palette generator →

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