#F274EA#F274EA

#F274EA is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.6% C 0.207 H 329.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F274EA
RGBrgb(242, 116, 234)
HSLhsl(304, 83%, 70%)
HSVhsv(304, 52%, 95%)
CMYKcmyk(0%, 52.1%, 3.3%, 5.1%)
CIE-LABlab(67.51, 63.44, -37.97)
CIE-LCHlch(67.51, 73.94, 329.10°)
OKLaboklab(74.62% 0.179 -0.1039)
OKLCHoklch(74.62% 0.207 329.9)
XYZxyz(57.7141, 37.3121, 81.9880)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274EA #74F27C
analogous
#BB74F2 #F274EA #F274AB
triadic
#F274EA #EAF274 #74EAF2
tetradic
#F274EA #F2BB74 #74F27C #74ABF2
square
#F274EA #F2BB74 #74F27C #74ABF2
split-complementary
#F274EA #ABF274 #74F2BB
monochromatic
#D714CB #ED3CE2 #F274EA #F7ACF2 #FCE3FB

Accessibility & contrast

On white

2.48
#F274EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F274EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274EA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274EA#FFFFFF#000000##000000
##F274EA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#92ABE6
Tritanopia (blue-blind)
#FA80A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f274ea;
/* rgb */ color: rgb(242, 116, 234);
/* oklch */ color: oklch(74.6% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#f9a1f1',
    500: '#f274ea',
    950: '#000000',
  },
}
SCSS
$custom: #f274ea;
$custom-light: #f9a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f274ea",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 303.81,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74624,
    "c": 0.20702,
    "h": 329.9
  },
  "luminance": 0.37309
}

Semantic roles & 50–950 ramp

primary
#F274EA
secondary
#CFF2D2
accent
#DF1406
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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