#F254EA#F254EA

#F254EA is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.1% C 0.251 H 330.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#F254EA
RGBrgb(242, 84, 234)
HSLhsl(303, 86%, 64%)
HSVhsv(303, 65%, 95%)
CMYKcmyk(0%, 65.3%, 3.3%, 5.1%)
CIE-LABlab(62.64, 76.76, -45.60)
CIE-LCHlch(62.64, 89.28, 329.29°)
OKLaboklab(71.07% 0.2171 -0.1256)
OKLCHoklch(71.07% 0.251 330)
XYZxyz(54.6392, 31.1624, 80.9631)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254EA #54F25C
analogous
#AB54F2 #F254EA #F2549B
triadic
#F254EA #EAF254 #54EAF2
tetradic
#F254EA #F2AB54 #54F25C #549BF2
square
#F254EA #F2AB54 #54F25C #549BF2
split-complementary
#F254EA #9BF254 #54F2AB
monochromatic
#BD0EB4 #EE1BE3 #F254EA #F68DF1 #FBC6F8

Accessibility & contrast

On white

2.90
#F254EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#F254EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F254EA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254EA#FFFFFF#000000##000000
##F254EA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEE
Deuteranopia (green-blind)
#809FE6
Tritanopia (blue-blind)
#FB6798
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f254ea;
/* rgb */ color: rgb(242, 84, 234);
/* oklch */ color: oklch(71.1% 0.251 330.0);
Tailwind
colors: {
  custom: {
    50: '#fa8ff1',
    500: '#f254ea',
    950: '#000000',
  },
}
SCSS
$custom: #f254ea;
$custom-light: #fa8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f254ea",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 303.038,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.25082,
    "h": 330
  },
  "luminance": 0.31158
}

Semantic roles & 50–950 ramp

primary
#F254EA
secondary
#B5EDB8
accent
#E20E03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #F254EA

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

Preview Lab → · Contrast checker → · Palette generator →

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