#F276F2#F276F2

#F276F2 is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.2% C 0.211 H 327.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F276F2
RGBrgb(242, 118, 242)
HSLhsl(300, 83%, 71%)
HSVhsv(300, 51%, 95%)
CMYKcmyk(0%, 51.2%, 0%, 5.1%)
CIE-LABlab(68.20, 63.87, -41.30)
CIE-LCHlch(68.20, 76.06, 327.11°)
OKLaboklab(75.25% 0.1776 -0.1135)
OKLCHoklch(75.25% 0.211 327.4)
XYZxyz(59.1224, 38.2483, 88.2557)
Luminance0.3825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276F2 #76F276
analogous
#B476F2 #F276F2 #F276B4
triadic
#F276F2 #F2F276 #76F2F2
tetradic
#F276F2 #F2B476 #76F276 #76B4F2
square
#F276F2 #F2B476 #76F276 #76B4F2
split-complementary
#F276F2 #B4F276 #76F2B4
monochromatic
#D915D9 #ED3EED #F276F2 #F7AEF7 #FCE3FC

Accessibility & contrast

On white

2.43
#F276F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F276F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276F2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276F2#FFFFFF#000000##000000
##F276F21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#F884A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f276f2;
/* rgb */ color: rgb(242, 118, 242);
/* oklch */ color: oklch(75.2% 0.211 327.4);
Tailwind
colors: {
  custom: {
    50: '#f9a2f7',
    500: '#f276f2',
    950: '#000000',
  },
}
SCSS
$custom: #f276f2;
$custom-light: #f9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f276f2",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.21073,
    "h": 327.4
  },
  "luminance": 0.38245
}

Semantic roles & 50–950 ramp

primary
#F276F2
secondary
#D1F3D1
accent
#DF0606
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F276F2

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

Preview Lab → · Contrast checker → · Palette generator →

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