#F251E7#F251E7

#F251E7 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.6% C 0.252 H 330.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#F251E7
RGBrgb(242, 81, 231)
HSLhsl(304, 86%, 63%)
HSVhsv(304, 67%, 95%)
CMYKcmyk(0%, 66.5%, 4.5%, 5.1%)
CIE-LABlab(62.11, 77.38, -44.76)
CIE-LCHlch(62.11, 89.39, 329.95°)
OKLaboklab(70.64% 0.22 -0.1232)
OKLCHoklch(70.64% 0.252 330.8)
XYZxyz(53.9840, 30.5357, 78.6365)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E7 #51F25C
analogous
#AC51F2 #F251E7 #F25197
triadic
#F251E7 #E7F251 #51E7F2
tetradic
#F251E7 #F2AC51 #51F25C #5197F2
square
#F251E7 #F2AC51 #51F25C #5197F2
split-complementary
#F251E7 #97F251 #51F2AC
monochromatic
#BB0EAF #EE18DF #F251E7 #F68AEF #FBC3F7

Accessibility & contrast

On white

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

On black

7.11
#F251E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E7#FFFFFF#000000##000000
##F251E71.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#809EE3
Tritanopia (blue-blind)
#FB6396
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f251e7;
/* rgb */ color: rgb(242, 81, 231);
/* oklch */ color: oklch(70.6% 0.252 330.8);
Tailwind
colors: {
  custom: {
    50: '#fa8eef',
    500: '#f251e7',
    950: '#000000',
  },
}
SCSS
$custom: #f251e7;
$custom-light: #fa8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e7",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 304.099,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.25217,
    "h": 330.8
  },
  "luminance": 0.30532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F251E7

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

Preview Lab → · Contrast checker → · Palette generator →

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