#F274FB#F274FB

#F274FB is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.4% C 0.222 H 324.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F274FB
RGBrgb(242, 116, 251)
HSLhsl(296, 94%, 72%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(3.6%, 53.8%, 0%, 1.6%)
CIE-LABlab(68.27, 66.35, -46.14)
CIE-LCHlch(68.27, 80.81, 325.19°)
OKLaboklab(75.43% 0.1812 -0.1274)
OKLCHoklch(75.43% 0.222 324.9)
XYZxyz(60.2745, 38.3363, 95.4729)
Luminance0.3833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274FB #7DFB74
analogous
#AF74FB #F274FB #FB74C1
triadic
#F274FB #FBF274 #74FBF2
tetradic
#F274FB #FBAF74 #7DFB74 #74C1FB
square
#F274FB #FBAF74 #7DFB74 #74C1FB
split-complementary
#F274FB #C1FB74 #74FBAF
monochromatic
#DE07EE #EC39F9 #F274FB #F8AFFD #FCE1FE

Accessibility & contrast

On white

2.42
#F274FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F274FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274FB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274FB#FFFFFF#000000##000000
##F274FB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#F785AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f274fb;
/* rgb */ color: rgb(242, 116, 251);
/* oklch */ color: oklch(75.4% 0.222 324.9);
Tailwind
colors: {
  custom: {
    50: '#f9a1fd',
    500: '#f274fb',
    950: '#000000',
  },
}
SCSS
$custom: #f274fb;
$custom-light: #f9a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f274fb",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 296,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75428,
    "c": 0.22151,
    "h": 324.9
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F274FB

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

Preview Lab → · Contrast checker → · Palette generator →

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