#F276EF#F276EF

#F276EF is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.1% C 0.208 H 328.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#F276EF
RGBrgb(242, 118, 239)
HSLhsl(301, 83%, 71%)
HSVhsv(301, 51%, 95%)
CMYKcmyk(0%, 51.2%, 1.2%, 5.1%)
CIE-LABlab(68.07, 63.36, -39.85)
CIE-LCHlch(68.07, 74.85, 327.83°)
OKLaboklab(75.11% 0.1772 -0.1093)
OKLCHoklch(75.11% 0.208 328.3)
XYZxyz(58.6756, 38.0696, 85.9022)
Luminance0.3807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276EF #76F279
analogous
#B776F2 #F276EF #F276B1
triadic
#F276EF #EFF276 #76EFF2
tetradic
#F276EF #F2B776 #76F279 #76B1F2
square
#F276EF #F2B776 #76F279 #76B1F2
split-complementary
#F276EF #B1F276 #76F2B7
monochromatic
#D915D4 #ED3EE8 #F276EF #F7AEF6 #FCE3FC

Accessibility & contrast

On white

2.44
#F276EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#F276EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276EF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276EF#FFFFFF#000000##000000
##F276EF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#F983A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f276ef;
/* rgb */ color: rgb(242, 118, 239);
/* oklch */ color: oklch(75.1% 0.208 328.3);
Tailwind
colors: {
  custom: {
    50: '#f9a2f4',
    500: '#f276ef',
    950: '#000000',
  },
}
SCSS
$custom: #f276ef;
$custom-light: #f9a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f276ef",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 301.452,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75108,
    "c": 0.20818,
    "h": 328.3
  },
  "luminance": 0.38066
}

Semantic roles & 50–950 ramp

primary
#F276EF
secondary
#D1F3D2
accent
#DF0C06
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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