#F274E2#F274E2

#F274E2 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.3% C 0.201 H 332.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F274E2
RGBrgb(242, 116, 226)
HSLhsl(308, 83%, 70%)
HSVhsv(308, 52%, 95%)
CMYKcmyk(0%, 52.1%, 6.6%, 5.1%)
CIE-LABlab(67.17, 62.13, -34.06)
CIE-LCHlch(67.17, 70.85, 331.26°)
OKLaboklab(74.27% 0.1778 -0.0928)
OKLCHoklch(74.27% 0.201 332.4)
XYZxyz(56.5906, 36.8628, 76.0713)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274E2 #74F284
analogous
#C374F2 #F274E2 #F274A3
triadic
#F274E2 #E2F274 #74E2F2
tetradic
#F274E2 #F2C374 #74F284 #74A3F2
square
#F274E2 #F2C374 #74F284 #74A3F2
split-complementary
#F274E2 #A3F274 #74F2C3
monochromatic
#D714BF #ED3CD6 #F274E2 #F7ACEE #FCE3F9

Accessibility & contrast

On white

2.51
#F274E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F274E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274E2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274E2#FFFFFF#000000##000000
##F274E21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#96AADE
Tritanopia (blue-blind)
#FB7DA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f274e2;
/* rgb */ color: rgb(242, 116, 226);
/* oklch */ color: oklch(74.3% 0.201 332.4);
Tailwind
colors: {
  custom: {
    50: '#f9a1eb',
    500: '#f274e2',
    950: '#000000',
  },
}
SCSS
$custom: #f274e2;
$custom-light: #f9a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f274e2",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 307.619,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74265,
    "c": 0.20051,
    "h": 332.4
  },
  "luminance": 0.36859
}

Semantic roles & 50–950 ramp

primary
#F274E2
secondary
#CFF2D4
accent
#DF2206
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F274E2

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

Preview Lab → · Contrast checker → · Palette generator →

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