#F251E5#F251E5

#F251E5 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.5% C 0.251 H 331.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F251E5
RGBrgb(242, 81, 229)
HSLhsl(305, 86%, 63%)
HSVhsv(305, 67%, 95%)
CMYKcmyk(0%, 66.5%, 5.4%, 5.1%)
CIE-LABlab(62.02, 77.07, -43.79)
CIE-LCHlch(62.02, 88.65, 330.39°)
OKLaboklab(70.54% 0.2199 -0.1204)
OKLCHoklch(70.54% 0.251 331.3)
XYZxyz(53.7032, 30.4234, 77.1574)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E5 #51F25E
analogous
#AE51F2 #F251E5 #F25194
triadic
#F251E5 #E5F251 #51E5F2
tetradic
#F251E5 #F2AE51 #51F25E #5194F2
square
#F251E5 #F2AE51 #51F25E #5194F2
split-complementary
#F251E5 #94F251 #51F2AE
monochromatic
#BB0EAD #EE18DC #F251E5 #F68AEE #FBC3F6

Accessibility & contrast

On white

2.96
#F251E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F251E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E5#FFFFFF#000000##000000
##F251E51.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E9
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#FB6295
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f251e5;
/* rgb */ color: rgb(242, 81, 229);
/* oklch */ color: oklch(70.5% 0.251 331.3);
Tailwind
colors: {
  custom: {
    50: '#fa8eed',
    500: '#f251e5',
    950: '#000000',
  },
}
SCSS
$custom: #f251e5;
$custom-light: #fa8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e5",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 304.845,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70539,
    "c": 0.2507,
    "h": 331.3
  },
  "luminance": 0.30419
}

Semantic roles & 50–950 ramp

primary
#F251E5
secondary
#B3ECB7
accent
#E31503
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251E5

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

Preview Lab → · Contrast checker → · Palette generator →

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