#F276F8#F276F8

#F276F8 is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.5% C 0.216 H 325.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#F276F8
RGBrgb(242, 118, 248)
HSLhsl(297, 90%, 72%)
HSVhsv(297, 52%, 97%)
CMYKcmyk(2.4%, 52.4%, 0%, 2.7%)
CIE-LABlab(68.47, 64.91, -44.17)
CIE-LCHlch(68.47, 78.51, 325.76°)
OKLaboklab(75.53% 0.1783 -0.1218)
OKLCHoklch(75.53% 0.216 325.7)
XYZxyz(60.0384, 38.6147, 93.0797)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276F8 #7CF876
analogous
#B176F8 #F276F8 #F876BD
triadic
#F276F8 #F8F276 #76F8F2
tetradic
#F276F8 #F8B176 #7CF876 #76BDF8
square
#F276F8 #F8B176 #7CF876 #76BDF8
split-complementary
#F276F8 #BDF876 #76F8B1
monochromatic
#DE0CE8 #EC3CF5 #F276F8 #F8B0FB #FCE2FE

Accessibility & contrast

On white

2.41
#F276F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#F276F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276F8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276F8#FFFFFF#000000##000000
##F276F81.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#F786AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f276f8;
/* rgb */ color: rgb(242, 118, 248);
/* oklch */ color: oklch(75.5% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#f9a2fb',
    500: '#f276f8',
    950: '#000000',
  },
}
SCSS
$custom: #f276f8;
$custom-light: #f9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f276f8",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 297.231,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75532,
    "c": 0.21593,
    "h": 325.7
  },
  "luminance": 0.38611
}

Semantic roles & 50–950 ramp

primary
#F276F8
secondary
#D6F5D4
accent
#E6000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F276F8

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

Preview Lab → · Contrast checker → · Palette generator →

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