#F276EC#F276EC

#F276EC is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.0% C 0.206 H 329.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F276EC
RGBrgb(242, 118, 236)
HSLhsl(303, 83%, 71%)
HSVhsv(303, 51%, 95%)
CMYKcmyk(0%, 51.2%, 2.5%, 5.1%)
CIE-LABlab(67.94, 62.85, -38.40)
CIE-LCHlch(67.94, 73.66, 328.58°)
OKLaboklab(74.97% 0.1767 -0.1052)
OKLCHoklch(74.97% 0.206 329.2)
XYZxyz(58.2360, 37.8938, 83.5874)
Luminance0.3789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276EC #76F27C
analogous
#BA76F2 #F276EC #F276AE
triadic
#F276EC #ECF276 #76ECF2
tetradic
#F276EC #F2BA76 #76F27C #76AEF2
square
#F276EC #F2BA76 #76F27C #76AEF2
split-complementary
#F276EC #AEF276 #76F2BA
monochromatic
#D915D0 #ED3EE4 #F276EC #F7AEF4 #FCE3FB

Accessibility & contrast

On white

2.45
#F276EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F276EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276EC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276EC#FFFFFF#000000##000000
##F276EC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#F982A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f276ec;
/* rgb */ color: rgb(242, 118, 236);
/* oklch */ color: oklch(75.0% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#f9a2f2',
    500: '#f276ec',
    950: '#000000',
  },
}
SCSS
$custom: #f276ec;
$custom-light: #f9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f276ec",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 302.903,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7497,
    "c": 0.20564,
    "h": 329.2
  },
  "luminance": 0.3789
}

Semantic roles & 50–950 ramp

primary
#F276EC
secondary
#D1F3D3
accent
#DF1106
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F276EC

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

Preview Lab → · Contrast checker → · Palette generator →

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