#F274F8#F274F8

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

Color values

HEX#F274F8
RGBrgb(242, 116, 248)
HSLhsl(297, 90%, 71%)
HSVhsv(297, 53%, 97%)
CMYKcmyk(2.4%, 53.2%, 0%, 2.7%)
CIE-LABlab(68.13, 65.82, -44.71)
CIE-LCHlch(68.13, 79.57, 325.81°)
OKLaboklab(75.28% 0.1809 -0.1233)
OKLCHoklch(75.28% 0.219 325.7)
XYZxyz(59.8053, 38.1486, 93.0020)
Luminance0.3815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274F8 #7AF874
analogous
#B074F8 #F274F8 #F874BC
triadic
#F274F8 #F8F274 #74F8F2
tetradic
#F274F8 #F8B074 #7AF874 #74BCF8
square
#F274F8 #F8B074 #7AF874 #74BCF8
split-complementary
#F274F8 #BCF874 #74F8B0
monochromatic
#DC0CE6 #ED3AF5 #F274F8 #F7AEFB #FCE2FE

Accessibility & contrast

On white

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

On black

8.63
#F274F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274F8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274F8#FFFFFF#000000##000000
##F274F81.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#8CACF4
Tritanopia (blue-blind)
#F784AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f274f8;
/* rgb */ color: rgb(242, 116, 248);
/* oklch */ color: oklch(75.3% 0.219 325.7);
Tailwind
colors: {
  custom: {
    50: '#f9a1fb',
    500: '#f274f8',
    950: '#000000',
  },
}
SCSS
$custom: #f274f8;
$custom-light: #f9a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f274f8",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 297.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75282,
    "c": 0.2189,
    "h": 325.7
  },
  "luminance": 0.38145
}

Semantic roles & 50–950 ramp

primary
#F274F8
secondary
#D4F5D3
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F274F8

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

Preview Lab → · Contrast checker → · Palette generator →

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