#F274ED#F274ED

#F274ED is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.8% C 0.210 H 328.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F274ED
RGBrgb(242, 116, 237)
HSLhsl(302, 83%, 70%)
HSVhsv(302, 52%, 95%)
CMYKcmyk(0%, 52.1%, 2.1%, 5.1%)
CIE-LABlab(67.64, 63.94, -39.42)
CIE-LCHlch(67.64, 75.12, 328.34°)
OKLaboklab(74.76% 0.1795 -0.1081)
OKLCHoklch(74.76% 0.21 328.9)
XYZxyz(58.1487, 37.4860, 84.2771)
Luminance0.3748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274ED #74F279
analogous
#B874F2 #F274ED #F274AE
triadic
#F274ED #EDF274 #74EDF2
tetradic
#F274ED #F2B874 #74F279 #74AEF2
square
#F274ED #F2B874 #74F279 #74AEF2
split-complementary
#F274ED #AEF274 #74F2B8
monochromatic
#D714D0 #ED3CE6 #F274ED #F7ACF4 #FCE3FB

Accessibility & contrast

On white

2.47
#F274ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F274ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274ED
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274ED#FFFFFF#000000##000000
##F274ED1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#F981A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f274ed;
/* rgb */ color: rgb(242, 116, 237);
/* oklch */ color: oklch(74.8% 0.210 328.9);
Tailwind
colors: {
  custom: {
    50: '#f9a1f3',
    500: '#f274ed',
    950: '#000000',
  },
}
SCSS
$custom: #f274ed;
$custom-light: #f9a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f274ed",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 302.381,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74761,
    "c": 0.20951,
    "h": 328.9
  },
  "luminance": 0.37482
}

Semantic roles & 50–950 ramp

primary
#F274ED
secondary
#CFF2D1
accent
#DF0F06
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F274ED

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

Preview Lab → · Contrast checker → · Palette generator →

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