#F276EB#F276EB

#F276EB is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.9% C 0.205 H 329.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F276EB
RGBrgb(242, 118, 235)
HSLhsl(303, 83%, 71%)
HSVhsv(303, 51%, 95%)
CMYKcmyk(0%, 51.2%, 2.9%, 5.1%)
CIE-LABlab(67.90, 62.69, -37.92)
CIE-LCHlch(67.90, 73.26, 328.83°)
OKLaboklab(74.92% 0.1766 -0.1038)
OKLCHoklch(74.92% 0.205 329.6)
XYZxyz(58.0912, 37.8358, 82.8244)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276EB #76F27D
analogous
#BB76F2 #F276EB #F276AD
triadic
#F276EB #EBF276 #76EBF2
tetradic
#F276EB #F2BB76 #76F27D #76ADF2
square
#F276EB #F2BB76 #76F27D #76ADF2
split-complementary
#F276EB #ADF276 #76F2BB
monochromatic
#D915CE #ED3EE3 #F276EB #F7AEF3 #FCE3FB

Accessibility & contrast

On white

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

On black

8.57
#F276EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276EB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276EB#FFFFFF#000000##000000
##F276EB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#93ACE7
Tritanopia (blue-blind)
#FA82A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f276eb;
/* rgb */ color: rgb(242, 118, 235);
/* oklch */ color: oklch(74.9% 0.205 329.6);
Tailwind
colors: {
  custom: {
    50: '#f9a2f2',
    500: '#f276eb',
    950: '#000000',
  },
}
SCSS
$custom: #f276eb;
$custom-light: #f9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f276eb",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 303.387,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.20481,
    "h": 329.6
  },
  "luminance": 0.37832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F276EB

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

Preview Lab → · Contrast checker → · Palette generator →

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