#F274E7#F274E7

#F274E7 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.5% C 0.205 H 330.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F274E7
RGBrgb(242, 116, 231)
HSLhsl(305, 83%, 70%)
HSVhsv(305, 52%, 95%)
CMYKcmyk(0%, 52.1%, 4.5%, 5.1%)
CIE-LABlab(67.38, 62.94, -36.51)
CIE-LCHlch(67.38, 72.77, 329.88°)
OKLaboklab(74.49% 0.1786 -0.0997)
OKLCHoklch(74.49% 0.205 330.8)
XYZxyz(57.2867, 37.1412, 79.7374)
Luminance0.3714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274E7 #74F27F
analogous
#BE74F2 #F274E7 #F274A8
triadic
#F274E7 #E7F274 #74E7F2
tetradic
#F274E7 #F2BE74 #74F27F #74A8F2
square
#F274E7 #F2BE74 #74F27F #74A8F2
split-complementary
#F274E7 #A8F274 #74F2BE
monochromatic
#D714C6 #ED3CDD #F274E7 #F7ACF1 #FCE3FA

Accessibility & contrast

On white

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

On black

8.43
#F274E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274E7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274E7#FFFFFF#000000##000000
##F274E71.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#94AAE3
Tritanopia (blue-blind)
#FA7FA3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f274e7;
/* rgb */ color: rgb(242, 116, 231);
/* oklch */ color: oklch(74.5% 0.205 330.8);
Tailwind
colors: {
  custom: {
    50: '#f9a1ef',
    500: '#f274e7',
    950: '#000000',
  },
}
SCSS
$custom: #f274e7;
$custom-light: #f9a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f274e7",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 305.238,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74488,
    "c": 0.20454,
    "h": 330.8
  },
  "luminance": 0.37138
}

Semantic roles & 50–950 ramp

primary
#F274E7
secondary
#CFF2D2
accent
#DF1906
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F274E7

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

Preview Lab → · Contrast checker → · Palette generator →

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