#F254EE#F254EE

#F254EE is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.3% C 0.254 H 328.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#F254EE
RGBrgb(242, 84, 238)
HSLhsl(302, 86%, 64%)
HSVhsv(302, 65%, 95%)
CMYKcmyk(0%, 65.3%, 1.7%, 5.1%)
CIE-LABlab(62.84, 77.39, -47.52)
CIE-LCHlch(62.84, 90.81, 328.45°)
OKLaboklab(71.27% 0.2173 -0.1311)
OKLCHoklch(71.27% 0.254 328.9)
XYZxyz(55.2203, 31.3949, 84.0237)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254EE #54F258
analogous
#A754F2 #F254EE #F2549F
triadic
#F254EE #EEF254 #54EEF2
tetradic
#F254EE #F2A754 #54F258 #549FF2
square
#F254EE #F2A754 #54F258 #549FF2
split-complementary
#F254EE #9FF254 #54F2A7
monochromatic
#BD0EB9 #EE1BE8 #F254EE #F68DF4 #FBC6F9

Accessibility & contrast

On white

2.89
#F254EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#F254EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F254EE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254EE#FFFFFF#000000##000000
##F254EE1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF2
Deuteranopia (green-blind)
#7E9FEA
Tritanopia (blue-blind)
#FA689A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f254ee;
/* rgb */ color: rgb(242, 84, 238);
/* oklch */ color: oklch(71.3% 0.254 328.9);
Tailwind
colors: {
  custom: {
    50: '#fa90f4',
    500: '#f254ee',
    950: '#000000',
  },
}
SCSS
$custom: #f254ee;
$custom-light: #fa90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f254ee",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 301.519,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.71274,
    "c": 0.25384,
    "h": 328.9
  },
  "luminance": 0.31391
}

Semantic roles & 50–950 ramp

primary
#F254EE
secondary
#B5EDB7
accent
#E20903
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F254EE

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

Preview Lab → · Contrast checker → · Palette generator →

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