#F251E4#F251E4

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

Color values

HEX#F251E4
RGBrgb(242, 81, 228)
HSLhsl(305, 86%, 63%)
HSVhsv(305, 67%, 95%)
CMYKcmyk(0%, 66.5%, 5.8%, 5.1%)
CIE-LABlab(61.97, 76.92, -43.31)
CIE-LCHlch(61.97, 88.27, 330.62°)
OKLaboklab(70.49% 0.2198 -0.119)
OKLCHoklch(70.49% 0.25 331.6)
XYZxyz(53.5639, 30.3677, 76.4241)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E4 #51F25F
analogous
#AF51F2 #F251E4 #F25194
triadic
#F251E4 #E4F251 #51E4F2
tetradic
#F251E4 #F2AF51 #51F25F #5194F2
square
#F251E4 #F2AF51 #51F25F #5194F2
split-complementary
#F251E4 #94F251 #51F2AF
monochromatic
#BB0EAC #EE18DB #F251E4 #F68AED #FBC3F6

Accessibility & contrast

On white

2.97
#F251E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#F251E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E4#FFFFFF#000000##000000
##F251E41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#819EE0
Tritanopia (blue-blind)
#FC6294
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f251e4;
/* rgb */ color: rgb(242, 81, 228);
/* oklch */ color: oklch(70.5% 0.250 331.6);
Tailwind
colors: {
  custom: {
    50: '#fa8eed',
    500: '#f251e4',
    950: '#000000',
  },
}
SCSS
$custom: #f251e4;
$custom-light: #fa8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e4",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 305.217,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70489,
    "c": 0.24997,
    "h": 331.6
  },
  "luminance": 0.30364
}

Semantic roles & 50–950 ramp

primary
#F251E4
secondary
#B3ECB8
accent
#E31603
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251E4

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

Preview Lab → · Contrast checker → · Palette generator →

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