#F276FB#F276FB

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

Color values

HEX#F276FB
RGBrgb(242, 118, 251)
HSLhsl(296, 94%, 72%)
HSVhsv(296, 53%, 98%)
CMYKcmyk(3.6%, 53%, 0%, 1.6%)
CIE-LABlab(68.61, 65.44, -45.60)
CIE-LCHlch(68.61, 79.76, 325.13°)
OKLaboklab(75.68% 0.1787 -0.1259)
OKLCHoklch(75.68% 0.219 324.8)
XYZxyz(60.5075, 38.8023, 95.5506)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276FB #7FFB76
analogous
#B076FB #F276FB #FB76C1
triadic
#F276FB #FBF276 #76FBF2
tetradic
#F276FB #FBB076 #7FFB76 #76C1FB
square
#F276FB #FBB076 #7FFB76 #76C1FB
split-complementary
#F276FB #C1FB76 #76FBB0
monochromatic
#E007F0 #EC3BF9 #F276FB #F8B1FD #FCE1FE

Accessibility & contrast

On white

2.40
#F276FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F276FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276FB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276FB#FFFFFF#000000##000000
##F276FB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f276fb;
/* rgb */ color: rgb(242, 118, 251);
/* oklch */ color: oklch(75.7% 0.219 324.8);
Tailwind
colors: {
  custom: {
    50: '#f9a3fd',
    500: '#f276fb',
    950: '#000000',
  },
}
SCSS
$custom: #f276fb;
$custom-light: #f9a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f276fb",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 295.94,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75677,
    "c": 0.21856,
    "h": 324.8
  },
  "luminance": 0.38799
}

Semantic roles & 50–950 ramp

primary
#F276FB
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F276FB

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

Preview Lab → · Contrast checker → · Palette generator →

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