#F273FB#F273FB

#F273FB is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.3% C 0.223 H 324.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#F273FB
RGBrgb(242, 115, 251)
HSLhsl(296, 94%, 72%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(3.6%, 54.2%, 0%, 1.6%)
CIE-LABlab(68.10, 66.80, -46.40)
CIE-LCHlch(68.10, 81.34, 325.21°)
OKLaboklab(75.3% 0.1825 -0.1282)
OKLCHoklch(75.3% 0.223 324.9)
XYZxyz(60.1598, 38.1070, 95.4347)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F273FB #7CFB73
analogous
#AE73FB #F273FB #FB73C0
triadic
#F273FB #FBF273 #73FBF2
tetradic
#F273FB #FBAE73 #7CFB73 #73C0FB
square
#F273FB #FBAE73 #7CFB73 #73C0FB
split-complementary
#F273FB #C0FB73 #73FBAE
monochromatic
#DE07ED #EC38F9 #F273FB #F8AFFD #FCE1FE

Accessibility & contrast

On white

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

On black

8.62
#F273FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F273FB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F273FB#FFFFFF#000000##000000
##F273FB1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#F784AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f273fb;
/* rgb */ color: rgb(242, 115, 251);
/* oklch */ color: oklch(75.3% 0.223 324.9);
Tailwind
colors: {
  custom: {
    50: '#f9a1fd',
    500: '#f273fb',
    950: '#000000',
  },
}
SCSS
$custom: #f273fb;
$custom-light: #f9a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f273fb",
  "rgb": {
    "r": 242,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 296.029,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75304,
    "c": 0.22298,
    "h": 324.9
  },
  "luminance": 0.38104
}

Semantic roles & 50–950 ramp

primary
#F273FB
secondary
#D6F6D4
accent
#E6000F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F273FB

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

Preview Lab → · Contrast checker → · Palette generator →

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