#F272EC#F272EC

#F272EC is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.212 H 329.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F272EC
RGBrgb(242, 114, 236)
HSLhsl(303, 83%, 70%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 52.9%, 2.5%, 5.1%)
CIE-LABlab(67.26, 64.69, -39.47)
CIE-LCHlch(67.26, 75.78, 328.61°)
OKLaboklab(74.46% 0.1819 -0.1082)
OKLCHoklch(74.46% 0.212 329.3)
XYZxyz(57.7749, 36.9716, 83.4338)
Luminance0.3697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272EC #72F278
analogous
#B872F2 #F272EC #F272AC
triadic
#F272EC #ECF272 #72ECF2
tetradic
#F272EC #F2B872 #72F278 #72ACF2
square
#F272EC #F2B872 #72F278 #72ACF2
split-complementary
#F272EC #ACF272 #72F2B8
monochromatic
#D614CD #ED3AE4 #F272EC #F7AAF4 #FCE2FB

Accessibility & contrast

On white

2.50
#F272EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#F272EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272EC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272EC#FFFFFF#000000##000000
##F272EC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#FA7FA5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f272ec;
/* rgb */ color: rgb(242, 114, 236);
/* oklch */ color: oklch(74.5% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#f9a0f2',
    500: '#f272ec',
    950: '#000000',
  },
}
SCSS
$custom: #f272ec;
$custom-light: #f9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f272ec",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 302.813,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.21168,
    "h": 329.3
  },
  "luminance": 0.36968
}

Semantic roles & 50–950 ramp

primary
#F272EC
secondary
#CEF2D0
accent
#E01006
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F272EC

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

Preview Lab → · Contrast checker → · Palette generator →

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