#F276FA#F276FA

#F276FA is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.6% C 0.218 H 325.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F276FA
RGBrgb(242, 118, 250)
HSLhsl(296, 93%, 72%)
HSVhsv(296, 53%, 98%)
CMYKcmyk(3.2%, 52.8%, 0%, 2%)
CIE-LABlab(68.56, 65.26, -45.13)
CIE-LCHlch(68.56, 79.34, 325.34°)
OKLaboklab(75.63% 0.1786 -0.1245)
OKLCHoklch(75.63% 0.218 325.1)
XYZxyz(60.3503, 38.7395, 94.7226)
Luminance0.3874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276FA #7EFA76
analogous
#B076FA #F276FA #FA76C0
triadic
#F276FA #FAF276 #76FAF2
tetradic
#F276FA #FAB076 #7EFA76 #76C0FA
square
#F276FA #FAB076 #7EFA76 #76C0FA
split-complementary
#F276FA #C0FA76 #76FAB0
monochromatic
#DF09ED #EC3BF8 #F276FA #F8B1FC #FCE1FE

Accessibility & contrast

On white

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

On black

8.75
#F276FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276FA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276FA#FFFFFF#000000##000000
##F276FA1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#8CADF6
Tritanopia (blue-blind)
#F786AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f276fa;
/* rgb */ color: rgb(242, 118, 250);
/* oklch */ color: oklch(75.6% 0.218 325.1);
Tailwind
colors: {
  custom: {
    50: '#f9a3fc',
    500: '#f276fa',
    950: '#000000',
  },
}
SCSS
$custom: #f276fa;
$custom-light: #f9a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f276fa",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 296.364,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75629,
    "c": 0.21768,
    "h": 325.1
  },
  "luminance": 0.38736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F276FA

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

Preview Lab → · Contrast checker → · Palette generator →

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