#F273EC#F273EC

#F273EC is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.6% C 0.210 H 329.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F273EC
RGBrgb(242, 115, 236)
HSLhsl(303, 83%, 70%)
HSVhsv(303, 52%, 95%)
CMYKcmyk(0%, 52.5%, 2.5%, 5.1%)
CIE-LABlab(67.43, 64.23, -39.21)
CIE-LCHlch(67.43, 75.25, 328.60°)
OKLaboklab(74.59% 0.1806 -0.1075)
OKLCHoklch(74.59% 0.21 329.3)
XYZxyz(57.8884, 37.1984, 83.4716)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F273EC #73F279
analogous
#B973F2 #F273EC #F273AC
triadic
#F273EC #ECF273 #73ECF2
tetradic
#F273EC #F2B973 #73F279 #73ACF2
square
#F273EC #F2B973 #73F279 #73ACF2
split-complementary
#F273EC #ACF273 #73F2B9
monochromatic
#D714CD #ED3BE4 #F273EC #F7ABF4 #FCE3FB

Accessibility & contrast

On white

2.49
#F273EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F273EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F273EC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F273EC#FFFFFF#000000##000000
##F273EC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#FA7FA5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f273ec;
/* rgb */ color: rgb(242, 115, 236);
/* oklch */ color: oklch(74.6% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#f9a0f2',
    500: '#f273ec',
    950: '#000000',
  },
}
SCSS
$custom: #f273ec;
$custom-light: #f9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f273ec",
  "rgb": {
    "r": 242,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 302.835,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.21019,
    "h": 329.3
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#F273EC
secondary
#CFF2D0
accent
#DF1006
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F273EC

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

Preview Lab → · Contrast checker → · Palette generator →

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