#F254EF#F254EF

#F254EF is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.3% C 0.255 H 328.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#F254EF
RGBrgb(242, 84, 239)
HSLhsl(301, 86%, 64%)
HSVhsv(301, 65%, 95%)
CMYKcmyk(0%, 65.3%, 1.2%, 5.1%)
CIE-LABlab(62.89, 77.54, -47.99)
CIE-LCHlch(62.89, 91.20, 328.25°)
OKLaboklab(71.33% 0.2174 -0.1325)
OKLCHoklch(71.33% 0.255 328.6)
XYZxyz(55.3677, 31.4538, 84.7996)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254EF #54F257
analogous
#A654F2 #F254EF #F254A0
triadic
#F254EF #EFF254 #54EFF2
tetradic
#F254EF #F2A654 #54F257 #54A0F2
square
#F254EF #F2A654 #54F257 #54A0F2
split-complementary
#F254EF #A0F254 #54F2A6
monochromatic
#BD0EBA #EE1BEA #F254EF #F68DF4 #FBC6FA

Accessibility & contrast

On white

2.88
#F254EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#F254EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F254EF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254EF#FFFFFF#000000##000000
##F254EF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#FA699B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f254ef;
/* rgb */ color: rgb(242, 84, 239);
/* oklch */ color: oklch(71.3% 0.255 328.6);
Tailwind
colors: {
  custom: {
    50: '#fa90f5',
    500: '#f254ef',
    950: '#000000',
  },
}
SCSS
$custom: #f254ef;
$custom-light: #fa90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f254ef",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 301.139,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.25459,
    "h": 328.6
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#F254EF
secondary
#B5EDB6
accent
#E20703
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F254EF

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

Preview Lab → · Contrast checker → · Palette generator →

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