#F274FA#F274FA

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

Color values

HEX#F274FA
RGBrgb(242, 116, 250)
HSLhsl(296, 93%, 72%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(3.2%, 53.6%, 0%, 2%)
CIE-LABlab(68.22, 66.17, -45.66)
CIE-LCHlch(68.22, 80.40, 325.39°)
OKLaboklab(75.38% 0.1811 -0.126)
OKLCHoklch(75.38% 0.221 325.2)
XYZxyz(60.1173, 38.2734, 94.6449)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274FA #7CFA74
analogous
#AF74FA #F274FA #FA74BF
triadic
#F274FA #FAF274 #74FAF2
tetradic
#F274FA #FAAF74 #7CFA74 #74BFFA
square
#F274FA #FAAF74 #7CFA74 #74BFFA
split-complementary
#F274FA #BFFA74 #74FAAF
monochromatic
#DE08EB #EC39F8 #F274FA #F8AFFC #FCE1FE

Accessibility & contrast

On white

2.43
#F274FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F274FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274FA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274FA#FFFFFF#000000##000000
##F274FA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f274fa;
/* rgb */ color: rgb(242, 116, 250);
/* oklch */ color: oklch(75.4% 0.221 325.2);
Tailwind
colors: {
  custom: {
    50: '#f9a1fc',
    500: '#f274fa',
    950: '#000000',
  },
}
SCSS
$custom: #f274fa;
$custom-light: #f9a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f274fa",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 296.418,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75379,
    "c": 0.22064,
    "h": 325.2
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F274FA

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

Preview Lab → · Contrast checker → · Palette generator →

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